/* Custom Fonts & Styling Variables */
:root {
  --color-dark: #1b2021;
  --color-white: #ffffff;
  
  /* Candy palette */
  --color-pink: #ff70a6;
  --color-pink-dark: #cc3f75;
  --color-blue: #70d6ff;
  --color-blue-dark: #37a3cc;
  --color-yellow: #ffd670;
  --color-yellow-dark: #cca43d;
  --color-orange: #ff9770;
  --color-orange-dark: #cc653d;
  --color-green: #a3e635;
  --color-green-dark: #72b30c;
  --color-purple: #c084fc;
  --color-purple-dark: #9333ea;
  
  --font-main: 'Fredoka', sans-serif;
  --border-thick: 4px solid var(--color-dark);
  --border-double: 6px solid var(--color-dark);
  
  /* Easings based on web-animation-design guideline */
  --ease-out-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: #fffae8; /* Warm yellow candy background */
  background-image: radial-gradient(#ffe8b3 20%, transparent 20%),
                    radial-gradient(#ffe8b3 20%, transparent 20%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  color: var(--color-dark);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
}

/* Scrollbar Customization for Kid Kiosk */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}
::-webkit-scrollbar-track {
  background: #fef08a;
  border-radius: 10px;
  border: 3px solid var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 10px;
  border: 3px solid var(--color-dark);
  box-shadow: 0 4px 0 var(--color-orange-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: #fb7185;
}

/* Typography Utilities */
.text-pink { color: var(--color-pink); }
.text-blue { color: var(--color-blue); }
.text-yellow { color: var(--color-yellow); }
.text-green { color: var(--color-green); }

/* Bouncy logo and lettering */
.app-logo {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 2px 2px 0 var(--color-dark);
}
.bubble-letter {
  display: inline-block;
  transform-origin: bottom center;
  transition: transform 0.2s var(--ease-out-bounce);
  cursor: pointer;
  -webkit-text-stroke: 1.5px var(--color-dark);
}
.bubble-letter:hover {
  transform: scale(1.3) rotate(-8deg);
}
.bubble-letter.space {
  width: 12px;
}
.logo-emoji {
  margin-left: 8px;
  display: inline-block;
  animation: wobble 2.5s infinite ease-in-out;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.1); }
}

/* Bouncy animations */
.animate-bounce {
  animation: bounce 0.6s infinite alternate var(--ease-in-out-cubic);
}
@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.animate-pulse-slow {
  animation: pulse-glow 2s infinite ease-in-out;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 0 var(--color-dark); }
  50% { transform: scale(1.03); box-shadow: 0 12px 0 var(--color-dark), 0 0 15px rgba(163, 230, 53, 0.4); }
}

/* Layout structure */
.kiosk-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

/* Header Component */
.app-header {
  height: 80px;
  background-color: var(--color-white);
  border-bottom: var(--border-thick);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 0 rgba(0,0,0,0.06);
  z-index: 10;
}

.header-actions {
  display: flex;
  gap: 16px;
}

/* Buttons (Premium Toy-Store Bezel Effect) */
.btn {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 20px;
  border: var(--border-thick);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform 0.15s var(--ease-out-bounce), box-shadow 0.15s ease;
}

.btn-icon {
  font-size: 24px;
  margin-top: -2px;
}

.btn-primary {
  background-color: var(--color-blue);
  box-shadow: 0 6px 0 var(--color-blue-dark);
}
.btn-primary:active {
  box-shadow: 0 1px 0 var(--color-blue-dark);
  transform: translateY(5px);
}

.btn-secondary {
  background-color: var(--color-yellow);
  box-shadow: 0 6px 0 var(--color-yellow-dark);
}
.btn-secondary:active {
  box-shadow: 0 1px 0 var(--color-yellow-dark);
  transform: translateY(5px);
}

.btn-success {
  background-color: var(--color-green);
  box-shadow: 0 8px 0 var(--color-green-dark);
  padding: 12px 32px;
  font-size: 22px;
}
.btn-success:active {
  box-shadow: 0 1px 0 var(--color-green-dark);
  transform: translateY(7px);
}

.btn:hover {
  transform: scale(1.03) translateY(-2px);
}
.btn:active:hover {
  transform: translateY(5px);
}
.btn-success:active:hover {
  transform: translateY(7px);
}

/* Main Body Layout */
.app-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  padding: 20px;
  gap: 24px;
}

/* Left Canvas Viewport Section */
.canvas-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-container-3d {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.canvas-wood-frame {
  background: #d97706; /* Rich honey wood tone */
  background-image: linear-gradient(45deg, #d97706 25%, #b45309 25%, #b45309 50%, #d97706 50%, #d97706 75%, #b45309 75%, #b45309 100%);
  background-size: 80px 80px;
  border: var(--border-double);
  border-radius: 40px;
  padding: 24px;
  box-shadow: 0 16px 0 #78350f, 0 20px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.canvas-viewport {
  width: 500px;
  height: 500px;
  background-color: var(--color-white);
  border-radius: 20px;
  border: var(--border-thick);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 10px 0 rgba(0,0,0,0.06);
}

#patternCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: crosshair;
}

/* User Interactions DOM Overlay on canvas */
.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Let canvas capture base drags */
}

/* Selected Sticker Outline overlay */
.selection-box {
  position: absolute;
  border: 4px dashed var(--color-blue);
  border-radius: 12px;
  transform: translate(-50%, -50%);
  pointer-events: auto; /* Allow interactions on selected overlay */
  cursor: move;
  box-shadow: 0 0 25px rgba(112, 214, 255, 0.4);
  animation: dashPulse 2s infinite linear;
}

@keyframes dashPulse {
  0% { border-color: var(--color-blue); }
  50% { border-color: var(--color-pink); }
  100% { border-color: var(--color-blue); }
}

/* Control Handles for Selected Sticker */
.handle {
  position: absolute;
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  border: var(--border-thick);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--color-dark);
  transition: transform 0.1s var(--ease-out-bounce), background-color 0.15s ease;
  user-select: none;
}

.handle:hover {
  transform: scale(1.15);
  background-color: var(--color-yellow);
}
.handle:active {
  transform: scale(0.9);
  box-shadow: 0 1px 0 var(--color-dark);
}

.handle-rotate {
  top: -50px;
  left: calc(50% - 22px);
}
.handle-rotate::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: calc(50% - 3px);
  width: 6px;
  height: 10px;
  background-color: var(--color-dark);
}

.handle-scale {
  bottom: -22px;
  right: -22px;
  cursor: se-resize;
}

.handle-delete {
  top: -22px;
  left: -22px;
  background-color: var(--color-pink);
}
.handle-delete:hover {
  background-color: #ff3b84;
}

/* Placeholder Empty State overlay */
.canvas-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 0;
  pointer-events: none;
  background-color: rgba(255,255,255,0.7);
  transition: opacity 0.3s ease;
}
.placeholder-icon {
  font-size: 64px;
  animation: pointing 1.5s infinite alternate var(--ease-in-out-cubic);
}
@keyframes pointing {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(15px) scale(1.1); }
}
.canvas-placeholder p {
  font-size: 24px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 15px;
}

/* Floating Toolbar */
.floating-toolbar {
  margin-top: 20px;
  background: var(--color-white);
  border: var(--border-thick);
  border-radius: 24px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 0 var(--color-dark);
  z-index: 5;
  transition: opacity 0.2s var(--ease-out-quint), transform 0.2s var(--ease-out-bounce);
}
.floating-toolbar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
}
.toolbar-label {
  font-weight: 700;
  font-size: 16px;
  color: #6b7280;
  margin-right: 4px;
}
.tool-btn {
  font-family: var(--font-main);
  background-color: var(--color-white);
  border: 3px solid var(--color-dark);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 0 var(--color-dark);
  transition: transform 0.1s var(--ease-out-bounce), box-shadow 0.1s ease;
}
.tool-btn:hover {
  transform: translateY(-2px);
  background-color: #f3f4f6;
}
.tool-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--color-dark);
}
.tool-btn-danger {
  background-color: var(--color-pink);
  color: var(--color-white);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}
.tool-btn-danger:hover {
  background-color: #ff3b84;
}

/* Right Control Side Panel */
.control-panel {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-card {
  background: var(--color-white);
  border: var(--border-thick);
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 8px 0 var(--color-dark);
}

.panel-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Color palette picker */
.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.color-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-dark);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s var(--ease-out-bounce);
  box-shadow: 0 4px 0 var(--color-dark);
}
.color-dot:hover {
  transform: scale(1.15) translateY(-2px);
}
.color-dot:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--color-dark);
}
.color-dot.active::after {
  content: '⭐️';
  font-size: 16px;
  position: absolute;
  top: -8px;
  right: -8px;
  animation: floatEmoji 1s infinite alternate ease-in-out;
}

@keyframes floatEmoji {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-4px) scale(1.15); }
}

/* Live repeating grid preview card */
.preview-box-outer {
  background: #a7f3d0;
  border: var(--border-thick);
  border-radius: 20px;
  padding: 12px;
  box-shadow: inset 0 6px 0 rgba(0,0,0,0.1), 0 6px 0 #047857;
  overflow: hidden;
}

.live-preview-box {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  border: 3px solid var(--color-dark);
  background-color: var(--color-white);
  background-repeat: repeat;
  /* background-image will be dynamically set to the dataURL of patternCanvas */
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.08);
}

.preview-controls {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}

/* Styled HTML range input for kids */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: #e5e7eb;
  border: 2px solid var(--color-dark);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-orange);
  border: 3px solid var(--color-dark);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--color-dark);
  transition: transform 0.1s ease;
}
input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.2);
}

/* Toggle Switch Styling */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}
.toggle-container input {
  display: none;
}
.toggle-slider {
  position: relative;
  width: 48px;
  height: 28px;
  background-color: #d1d5db;
  border: 3px solid var(--color-dark);
  border-radius: 20px;
  transition: background-color 0.2s ease;
}
.toggle-slider::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-dark);
  top: 3px;
  left: 3px;
  transition: transform 0.2s var(--ease-out-bounce);
}
.toggle-container input:checked + .toggle-slider {
  background-color: var(--color-green);
}
.toggle-container input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

/* Bottom Sticker Shelf Strip */
.app-footer {
  height: 180px;
  background-color: var(--color-white);
  border-top: var(--border-thick);
  display: flex;
  flex-direction: column;
  padding: 10px 24px 15px;
  box-shadow: 0 -6px 0 rgba(0,0,0,0.03);
  z-index: 10;
}

.library-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.library-title-icon {
  font-size: 24px;
}
.library-header h2 {
  font-size: 20px;
  font-weight: 700;
}
.library-hint {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
}

.shelf-outer {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.shelf-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  height: 100%;
  padding: 4px 6px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.shelf-item {
  flex: 0 0 100px;
  height: 100px;
  background-color: var(--color-white);
  border: 3px solid var(--color-dark);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 6px 0 var(--color-dark);
  transition: transform 0.2s var(--ease-out-bounce), box-shadow 0.2s ease, background-color 0.2s ease;
  scroll-snap-align: start;
}

.shelf-item:hover {
  transform: translateY(-8px) rotate(4deg);
  background-color: #faf5ff;
  box-shadow: 0 12px 0 var(--color-dark);
}
.shelf-item:active {
  cursor: grabbing;
  transform: scale(0.95) translateY(2px);
  box-shadow: 0 2px 0 var(--color-dark);
}

.shelf-item svg {
  width: 80%;
  height: 80%;
  pointer-events: none; /* Make dragging the item drag the wrapper */
}

/* Export Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(27, 32, 33, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#confettiCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.modal-card {
  width: 600px;
  background: var(--color-white);
  border: var(--border-double);
  border-radius: 40px;
  padding: 30px;
  box-shadow: 0 20px 0 var(--color-dark), 0 30px 40px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
  z-index: 2;
  transform: scale(1);
  transition: transform 0.4s var(--ease-out-bounce);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-overlay.hidden .modal-card {
  transform: scale(0.5);
}

.modal-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-shadow: 2px 2px 0 var(--color-yellow);
  margin-bottom: 6px;
}
.modal-header p {
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
}

/* Mockup Showcase Panel */
.mockup-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mockup-display {
  width: 100%;
  height: 280px;
  background: #f3f4f6;
  border: var(--border-thick);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.06);
}

.mockup-inner {
  position: relative;
  transition: all 0.3s var(--ease-out-bounce);
}

/* Skins for Mockups */
.pattern-skinned-item {
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-dark);
  background-repeat: repeat;
}

/* PRESENT BOX SKIN */
.present-box {
  width: 180px;
  height: 180px;
  background-color: var(--color-white);
  border: 4px solid var(--color-dark);
  border-radius: 16px;
  box-shadow: 0 12px 0 var(--color-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.present-box .pattern-skinned-item {
  border: none;
}
.present-box .ribbon-overlay {
  position: absolute;
  font-size: 80px;
  pointer-events: none;
  filter: drop-shadow(0 4px 0 var(--color-dark));
}

/* CANVAS TOTE SKIN */
.tote-bag {
  width: 160px;
  height: 180px;
  background-color: #f5f5f4;
  border: 4px solid var(--color-dark);
  border-radius: 8px 8px 24px 24px;
  box-shadow: 0 10px 0 var(--color-dark);
  overflow: visible;
  position: relative;
}
.tote-bag .pattern-skinned-item {
  border: none;
  height: 70%;
  margin-top: 30%;
  border-top: 3px solid var(--color-dark);
  border-radius: 0 0 20px 20px;
}
/* Bag Handles */
.tote-bag::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 25px;
  width: 110px;
  height: 60px;
  border: 6px solid var(--color-dark);
  border-radius: 50% 50% 0 0;
  border-bottom: none;
  z-index: -1;
}

/* SKETCHBOOK SKIN */
.sketchbook {
  width: 140px;
  height: 190px;
  background-color: var(--color-white);
  border: 4px solid var(--color-dark);
  border-radius: 4px 16px 16px 4px;
  box-shadow: 4px 10px 0 var(--color-dark);
  overflow: hidden;
  position: relative;
}
.sketchbook .pattern-skinned-item {
  border: none;
  width: calc(100% - 20px);
  margin-left: 20px;
  border-left: 4px solid var(--color-dark);
}
/* Book Spine spirals */
.sketchbook::before {
  content: '🌀\n🌀\n🌀\n🌀\n🌀\n🌀\n🌀';
  white-space: pre;
  position: absolute;
  left: -8px;
  top: 15px;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-dark);
}

/* TINY TEE SKIN */
.tiny-tee {
  width: 220px;
  height: 180px;
  position: relative;
  background-color: var(--color-white);
  /* Use a clip-path to shape the T-Shirt! */
  clip-path: polygon(15% 0%, 25% 0%, 35% 10%, 65% 10%, 75% 0%, 85% 0%, 100% 25%, 85% 40%, 85% 100%, 15% 100%, 15% 40%, 0% 25%);
  border: 4px solid var(--color-dark);
  box-shadow: 0 10px 0 var(--color-dark);
}
/* Standard tee border clip fix */
.tiny-tee::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-dark);
  pointer-events: none;
  box-sizing: border-box;
}
.tiny-tee .pattern-skinned-item {
  border: none;
}

/* Mockup Tabs selectors */
.mockup-selector {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.mock-tab {
  font-family: var(--font-main);
  background: var(--color-white);
  border: 3px solid var(--color-dark);
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--color-dark);
  transition: transform 0.1s var(--ease-out-bounce), box-shadow 0.1s ease;
}
.mock-tab:hover {
  transform: translateY(-2px);
  background-color: #faf5ff;
}
.mock-tab.active {
  background-color: var(--color-purple);
  color: var(--color-white);
  box-shadow: 0 4px 0 var(--color-purple-dark);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}
.mock-tab.active:hover {
  background-color: var(--color-purple);
}

.modal-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.modal-footer .btn {
  font-size: 20px;
}

/* Hide utility */
.hidden {
  display: none !important;
}


.portfolio-float {
  position: fixed;
  z-index: 9999;
  bottom: 24px;
  left: 24px;
  display: flex;
  width: 280px;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(20, 45, 37, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  color: #16362b;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.portfolio-float__photo {
  width: 80px;
  flex: 0 0 80px;
  overflow: hidden;
  background: #fff;
  border-right: 1px solid #e7e4de;
}

.portfolio-float__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.portfolio-float__content {
  padding: 11px 13px;
}

.portfolio-float__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #9a7543;
  font: 700 8px/1.2 Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portfolio-float strong {
  display: block;
  font: 600 16px/0.95 Georgia, serif;
}

.portfolio-float__link {
  display: block;
  margin-top: 8px;
  font: 700 10px/1.2 Arial, sans-serif;
}

@media (max-width: 600px) {
  .portfolio-float {
    bottom: 14px;
    left: 14px;
    width: 250px;
  }
}