/* ==========================================================================
   MEN N BLACK — Luxury Men's Jewellery Design System
   Aesthetic: Dark Luxury (Onyx, Charcoal, Champagne Gold, Silver)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #0B0B0B;
  --bg-secondary: #121212;
  --bg-card: #181818;
  --bg-dark: #080808;
  
  --text-primary: #F2EEE6;
  --text-secondary: #C6C1B8;
  --text-muted: #A29B90;
  --text-light: #F2EEE6;

  --accent-gold: #D0AD69;
  --accent-gold-hover: #E0C27F;
  --accent-gold-light: #282116;
  --accent-gold-border: rgba(208, 173, 105, 0.4);

  --border-color: #353535;
  --border-subtle: #282828;
  --border-dark: #303030;

  --status-pending: #E0A64E;
  --status-confirmed: #64B9A5;
  --status-processing: #89A9F2;
  --status-shipped: #B49AE8;
  --status-delivered: #7FC58A;
  --status-cancelled: #EE8585;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.42);
  --shadow-gold: 0 6px 24px rgba(208, 173, 105, 0.12);

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --container-max: 1320px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-weight: 300;
}

.text-center {
  text-align: center;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar {
  background-color: var(--bg-dark);
  color: #E0DDD7;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar span.gold {
  color: var(--accent-gold);
  font-weight: 600;
}

/* --- LUXURY NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: -3px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.4rem;
}

.nav-btn:hover {
  color: var(--accent-gold);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background-color: var(--accent-gold);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.user-menu {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0;
  display: none;
  flex-direction: column;
  z-index: 1001;
}

.user-menu:hover .user-dropdown,
.user-menu.open .user-dropdown {
  display: flex;
}

.dropdown-item {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 0.4rem 0;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* --- LUXURY BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #111111;
  border-color: var(--accent-gold);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: #111111;
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-outline-gold:hover {
  background-color: var(--accent-gold);
  color: #111111;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

/* --- BADGES --- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}

.badge-gold {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
}

.badge-black {
  background-color: #292929;
  color: var(--text-primary);
}

.badge-sale {
  background-color: #351D1D;
  color: #F0A0A0;
  border: 1px solid rgba(240, 160, 160, 0.25);
}

.badge-status {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  border-radius: 20px;
}
.badge-status.pending { background: #352819; color: var(--status-pending); }
.badge-status.confirmed { background: #19312D; color: var(--status-confirmed); }
.badge-status.processing { background: #1D2940; color: var(--status-processing); }
.badge-status.shipped { background: #2B2340; color: var(--status-shipped); }
.badge-status.delivered { background: #203326; color: var(--status-delivered); }
.badge-status.cancelled { background: #3A2020; color: var(--status-cancelled); }

/* --- PRODUCT CARD --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold-border);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 105%;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.product-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

#categories-grid .category-card {
  background-color: #111111 !important;
  color: #FFFFFF;
}

#categories-grid .category-card h4 {
  color: #FFFFFF;
}

#categories-grid .category-card span {
  color: #D6B36A !important;
}

#categories-grid .category-card:hover {
  border-color: #C6A15B;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}
.product-rating .stars {
  letter-spacing: 1px;
}
.product-rating .count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* --- EMPTY STATE & LOADERS --- */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}
.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.empty-state p {
  color: var(--text-secondary);
  max-width: 450px;
  margin: 0 auto 1.5rem auto;
}

#tab-orders .empty-state {
  background: #FFFFFF;
  border-color: #E5E5E5;
  color: #171717;
}

#tab-orders .empty-state h3 {
  color: #171717;
}

#tab-orders .empty-state p {
  color: #4B4B4B;
}

#tab-orders .empty-state .btn-primary {
  background-color: #FFFFFF;
  color: #171717;
  border-color: #171717;
}

#tab-orders .empty-state .btn-primary:hover {
  background-color: #F3F3F3;
  border-color: #171717;
  color: #171717;
}

.loading-spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--accent-gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast {
  background: #181818;
  color: #FAF8F5;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.success { border-left-color: #2E7D32; }
.toast.error { border-left-color: #C62828; }
.toast.warning { border-left-color: #F57F17; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- LUXURY FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  color: #D3CFC9;
  margin-top: auto;
  border-top: 1px solid #262626;
  padding-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #222222;
}

.footer-brand .logo-text {
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}
.footer-brand p {
  color: #9C9890;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 1.2rem 0;
  max-width: 340px;
}

.footer-title {
  color: #FFFFFF;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #9C9890;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-newsletter p {
  color: #9C9890;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  background: #1E1E1E;
  border: 1px solid #333333;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  width: 100%;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #7A766F;
}

.footer-bottom a {
  color: #7A766F;
  margin-left: 1.5rem;
}
.footer-bottom a:hover {
  color: var(--accent-gold);
}

/* --- MODALS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-close:hover { color: var(--text-primary); }

.modal-body {
  padding: 1.8rem;
}

.modal-footer {
  padding: 1.2rem 1.8rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  background-color: var(--bg-primary);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .product-content {
    padding: 1rem;
  }
  .product-title {
    font-size: 0.98rem;
    height: 2.8em;
  }
  .product-card-actions {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-bottom a {
    margin: 0 0.5rem;
  }
}

/* Mobile responsive improvements */
@media (max-width: 600px) {
    .top-bar {
        font-size: 0.65rem;
        line-height: 1.6;
    }

    .nav-container {
        height: 70px;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .auth-wrapper {
        min-height: 100vh;
        padding: 1.25rem 0.75rem;
    }

    .auth-card {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-layout,
    .dashboard-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .cart-item {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .cart-item-img {
        width: 70px;
        height: 70px;
    }

    .order-summary-box {
        position: static;
    }

    .checkout-section,
    .dash-box {
        padding: 1.25rem;
    }

    .dashboard-sidebar {
        position: static;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .container {
        padding: 0 0.85rem;
    }
}

/* Homepage hero on small screens */
@media (max-width: 600px) {
    .hero-section {
        min-height: 65vh !important;
        padding: 3rem 1rem !important;
    }

    .hero-section h1 {
        font-size: 2.3rem !important;
    }

    .hero-section p {
        font-size: 1rem !important;
    }
}

/* Refreshed Paleothic storefront */
.home-refresh .home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(760px, 82vh);
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.88) 38%, rgba(7, 7, 7, 0.28) 100%),
        url("https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?auto=format&fit=crop&w=2000&q=85") center 48% / cover no-repeat,
        #080808;
    border-bottom: 1px solid var(--border-subtle);
}

.home-refresh .home-hero::after {
    position: absolute;
    z-index: -1;
    right: 12%;
    bottom: -34%;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(208, 173, 105, 0.24);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 34px rgba(208, 173, 105, 0.035), 0 0 0 70px rgba(208, 173, 105, 0.025);
}

.home-refresh .home-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.home-refresh .home-hero .section-tag {
    color: var(--accent-gold);
    letter-spacing: 0.2em;
}

.home-refresh .home-hero h1 {
    max-width: 700px;
    margin: 1.2rem 0 1rem;
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(4.2rem, 8vw, 7.5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.91;
}

.home-refresh .home-hero h1 span {
    color: var(--accent-gold);
    font-style: italic;
}

.home-refresh .home-hero-content > p {
    max-width: 490px;
    margin-bottom: 2rem;
    color: #d3cec5;
    font-size: 1.05rem;
    line-height: 1.8;
}

.home-refresh .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.home-refresh .home-hero-actions .btn {
    min-height: 52px;
    padding: 0.95rem 1.5rem;
}

.home-refresh .home-text-link {
    color: #f2eee6;
    font-size: 0.9rem;
    font-weight: 500;
}

.home-refresh .home-text-link span {
    margin-left: 0.3rem;
    color: var(--accent-gold);
}

.home-refresh .home-hero-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 3.2rem;
    color: #aaa49a;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-refresh .home-hero-note span {
    width: 25px;
    height: 1px;
    background: var(--accent-gold);
}

.home-refresh #categories-grid {
    gap: 1.1rem !important;
}

.home-refresh #categories-grid .category-card {
    border-radius: var(--radius-md);
}

.home-refresh #categories-grid .category-card img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-refresh #categories-grid .category-card:hover img {
    transform: scale(1.045);
}

.home-refresh .home-craft-layout {
    gap: clamp(2rem, 6vw, 5rem) !important;
}

.home-refresh .home-values-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #111 0%, #0b0b0b 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.home-refresh .home-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.8rem;
}

.home-refresh .home-value-card {
    min-height: 220px;
    padding: 1.7rem;
    background: linear-gradient(145deg, #191919, #111);
    border: 1px solid #303030;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.home-refresh .home-value-card:hover {
    border-color: var(--accent-gold-border);
    transform: translateY(-3px);
}

.home-refresh .home-value-index {
    color: var(--accent-gold);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.home-refresh .home-value-card h3 {
    margin: 1.7rem 0 0.55rem;
    color: #f2eee6;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.home-refresh .home-value-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.75;
}

@media (max-width: 760px) {
    .home-refresh .home-hero {
        min-height: 690px;
        background-position: 58% center;
    }

    .home-refresh .home-hero-content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .home-refresh .home-hero h1 {
        font-size: clamp(4rem, 15vw, 6rem);
    }

    .home-refresh .home-craft-layout {
        grid-template-columns: 1fr !important;
    }

    .home-refresh .home-craft-layout > div:last-child > div {
        min-height: 340px !important;
    }

    .home-refresh .home-craft-layout img {
        min-height: 340px !important;
    }

    .home-refresh .home-values-grid {
        grid-template-columns: 1fr;
    }

    .home-refresh .home-value-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-refresh .home-value-card,
    .home-refresh #categories-grid .category-card img {
        transition: none;
    }
}
