/* ============================================================
   POLLEN ROBOTICS STORE - EXACT CLONE DESIGN
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #18181b;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Links */
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #52525b; }

/* Images */
img { max-width: 100%; height: auto; display: block; }

/* Buttons */
button { font-family: inherit; font-size: inherit; cursor: pointer; }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  background-color: #ffffff;
  border-bottom: 1px solid #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
}

.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 44px;
  font-size: 14px;
  line-height: 1.5;
  color: #18181b;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #18181b;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.1);
}

.search-input::placeholder { color: #71717a; }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #a1a1aa;
  pointer-events: none;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.country-selector { position: relative; }

.country-select {
  appearance: none;
  background-color: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #18181b;
  padding: 8px 28px 8px 8px;
  cursor: pointer;
}

.country-select:hover { color: #52525b; }
.country-select:focus { outline: none; }

.country-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #71717a;
  pointer-events: none;
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  color: #18181b;
  transition: background-color 0.15s ease;
}

.icon-btn:hover { background-color: #f4f4f5; }
.icon-btn svg { width: 24px; height: 24px; }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: #ffffff;
  background-color: #18181b;
  border-radius: 9px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}

.hero-content {
  max-width: 680px;
  z-index: 1;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #18181b;
  margin-bottom: 14px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #71717a;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-block;
  background-color: #18181b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.hero-cta:hover {
  background-color: #27272a;
  transform: translateY(-1px);
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.products-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #18181b;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: #71717a;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  display: block;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.product-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #fafafa;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.02);
}

.product-info {
  padding: 24px;
}

.product-name {
  font-size: 22px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-description {
  font-size: 14px;
  line-height: 1.6;
  color: #71717a;
  margin-bottom: 12px;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 12px;
}

.product-cta {
  display: inline-block;
  background-color: #18181b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.product-cta:hover { 
  background-color: #27272a;
  transform: translateY(-1px);
}

/* ============================================================
   ACCESSORIES SECTION
   ============================================================ */

.accessories-section {
  background-color: #fafafa;
  padding: 60px 24px;
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.accessory-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.15s ease;
  cursor: pointer;
}

.accessory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.accessory-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #f4f4f5;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accessory-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accessory-name {
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 4px;
}

.accessory-price {
  font-size: 15px;
  font-weight: 600;
  color: #18181b;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: #18181b;
  color: #ffffff;
  padding: 80px 24px 40px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: block;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #a1a1aa;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.social-link svg { width: 18px; height: 18px; fill: #ffffff; }

.footer-column h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: #a1a1aa;
  transition: color 0.15s ease;
}

.footer-links a:hover { color: #ffffff; }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #71717a;
}

/* ============================================================
   BUTTONS & COMMON
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #18181b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover { 
  background-color: #27272a; 
  transform: translateY(-1px);
}

.btn:disabled { 
  background-color: #a1a1aa; 
  cursor: not-allowed; 
  transform: none;
}

.btn-light {
  background-color: #ffffff;
  color: #18181b;
  border: 1px solid #e4e4e7;
}

.btn-light:hover { 
  background-color: #fafafa; 
  border-color: #18181b; 
}

.link-btn {
  background: none;
  border: none;
  color: #71717a;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s ease;
}

.link-btn:hover { 
  color: #18181b; 
}

/* ============================================================
   MODALS & DRAWERS
   ============================================================ */

dialog {
  background-color: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

dialog::backdrop { 
  background-color: rgba(0, 0, 0, 0.5); 
  backdrop-filter: blur(4px); 
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #71717a;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.15s ease;
}

.modal-close:hover { 
  color: #18181b; 
}

.drawer { 
  max-width: 480px; 
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e4e4e7;
}

.drawer-head h2 { 
  font-size: 22px; 
  font-weight: 600; 
  color: #18181b; 
}

.drawer-items {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 24px;
}

.drawer-foot { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
  border-top: 1px solid #e4e4e7;
  margin-top: 8px;
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: #71717a;
  font-size: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f4f4f5;
}

.cart-item img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #f4f4f5;
}

.cart-item-info { 
  flex: 1; 
}

.cart-item-name { 
  font-weight: 600; 
  color: #18181b; 
  margin-bottom: 4px;
  font-size: 14px;
}

.cart-item-color { 
  font-size: 13px; 
  color: #71717a; 
  margin-bottom: 8px; 
}

.qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #e4e4e7;
  background-color: #ffffff;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty button:hover { 
  border-color: #18181b; 
  background-color: #fafafa; 
}

.qty span { 
  font-weight: 600; 
  min-width: 24px; 
  text-align: center;
  font-size: 14px;
}

.cart-item-price {
  font-weight: 600;
  color: #18181b;
  min-width: 100px;
  text-align: right;
  font-size: 14px;
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: #71717a;
  font-size: 15px;
}

.corner-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #18181b;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
  z-index: 999;
}

.corner-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.product-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.pp-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.gallery {
  position: relative;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding-bottom: 16px;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slides img {
  flex-shrink: 0;
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #fafafa;
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.thumbs button {
  width: 80px;
  height: 80px;
  border: 2px solid #e4e4e7;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  padding: 4px;
  transition: all 0.15s ease;
}

.thumbs button.active {
  border-color: #18181b;
}

.thumbs button:hover {
  border-color: #18181b;
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  color: #18181b;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.arrow:hover {
  background-color: #18181b;
  color: #ffffff;
}

.prev {
  left: 16px;
}

.next {
  right: 16px;
}

.pp-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pp-info h1 {
  font-size: 36px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pp-description {
  font-size: 15px;
  line-height: 1.65;
  color: #52525b;
  margin-bottom: 28px;
}

.pp-price {
  font-size: 22px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 28px;
}

.label {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.colors {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e4e4e7;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  position: relative;
}

.swatch:hover {
  border-color: #18181b;
  transform: scale(1.08);
}

.swatch.active {
  border-color: #18181b;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #18181b;
}

.qty-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.qty-picker button {
  width: 36px;
  height: 36px;
  border: 1px solid #e4e4e7;
  background-color: #ffffff;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
}

.qty-picker button:hover {
  border-color: #18181b;
  background-color: #fafafa;
}

.qty-picker input {
  width: 56px;
  height: 36px;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #18181b;
  -moz-appearance: textfield;
}

.qty-picker input::-webkit-outer-spin-button,
.qty-picker input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-picker input:focus {
  outline: none;
  border-color: #18181b;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #18181b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.btn:hover { 
  background-color: #27272a; 
  transform: translateY(-1px);
}

.btn:disabled { 
  background-color: #a1a1aa; 
  cursor: not-allowed; 
  transform: none;
}

.btn-wide { 
  width: 100%; 
}

.pp-section {
  margin-bottom: 60px;
}

.pp-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.acc {
  display: flex;
  gap: 16px;
  background-color: #fafafa;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.15s ease;
}

.acc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.acc img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #ffffff;
}

.acc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.acc-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 8px;
}

.acc-price {
  font-size: 15px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 12px;
}

.acc-body .btn {
  padding: 12px 20px;
  font-size: 13px;
  width: auto;
}

.btn-small {
  padding: 12px 20px;
  font-size: 13px;
  width: auto;
}

.other {
  display: flex;
  gap: 24px;
  background-color: #fafafa;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.15s ease;
}

.other:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.other img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #ffffff;
}

.other-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.other-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 8px;
}

.other-body p {
  font-size: 14px;
  color: #71717a;
  margin-bottom: 12px;
  line-height: 1.6;
}

.other-body .price {
  font-size: 18px;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 16px;
}

.other-body .btn {
  display: inline-block;
  background-color: #18181b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  width: fit-content;
}

.other-body .btn:hover {
  background-color: #27272a;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .header { padding: 0 16px; }
  .products-section, .accessories-section { padding: 60px 16px; }
  .products-grid { grid-template-columns: 1fr; gap: 32px; }
  .accessories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pp-top { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  .acc-grid { 
    grid-template-columns: 1fr; 
  }
  .other { 
    flex-direction: column; 
  }
  .other img { 
    width: 100%; 
    height: auto; 
    max-width: 300px;
  }
  .other-body .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header {
    height: 56px;
    padding: 0 12px;
  }
  .logo img { height: 28px; }
  .search-container { max-width: 180px; }
  .hero { height: 320px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .section-title { font-size: 24px; }
  .products-section, .accessories-section { padding: 48px 16px; }
  .accessories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .corner-btn {
    bottom: 16px;
    left: 16px;
    padding: 10px 14px;
    font-size: 13px;
  }
  .product-page { 
    padding: 24px 16px 60px; 
  }
  .pp-info h1 { 
    font-size: 28px; 
  }
  .slides img { 
    height: 400px; 
  }
  .acc { 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
  }
  .acc img { 
    width: 100%; 
    max-width: 200px; 
    height: auto; 
  }
  .acc-body .btn {
    width: 100%;
  }
  .other {
    padding: 16px;
  }
  .other img {
    max-width: 100%;
  }
  .drawer {
    max-width: 100%;
    width: 95%;
  }
}

/* ============================================================
   COLLECTIONS SECTION
   ============================================================ */

.collections-section {
  padding: 80px 24px;
  background-color: #ffffff;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.collection-card {
  display: flex;
  background-color: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.15s ease;
  text-decoration: none;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.collection-image {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
  transform: scale(1.05);
}

.collection-content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collection-content h2 {
  font-size: 30px;
  font-weight: 600;
  color: #18181b;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.collection-content p {
  font-size: 16px;
  color: #71717a;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.collection-cta {
  display: inline-block;
  color: #18181b;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.15s ease;
  align-self: flex-start;
}

.collection-cta:hover {
  color: #52525b;
}

@media (min-width: 768px) {
  .collections-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .collections-section {
    padding: 60px 16px;
  }
  
  .collection-card {
    flex-direction: column;
  }
  
  .collection-image {
    flex: 0 0 40%;
  }
  
  .collection-content {
    padding: 32px 24px;
  }
  
  .collection-content h2 {
    font-size: 24px;
  }
  
  .collection-content p {
    font-size: 15px;
  }
}
