
/*
 HAMZATEL SIGNATURE V1
 Visual layer only.
 No JavaScript, payment, stock or order logic changes.
*/

:root {
  --hzsig-ink: #162027;
  --hzsig-ink2: #23313a;
  --hzsig-gold: #bc9664;
  --hzsig-gold-light: #e7d5b8;
  --hzsig-paper: #f7f6f2;
  --hzsig-white: #ffffff;
  --hzsig-line: #e4e6e5;
  --hzsig-muted: #71808a;
}

html body {
  background-color: var(--hzsig-paper);
  color: var(--hzsig-ink);
  -webkit-font-smoothing: antialiased;
}

body .header-main {
  background-color: var(--hzsig-white);
  border-bottom: 1px solid var(--hzsig-line);
}

body .nav-row {
  background-color: var(--hzsig-white);
  border-bottom: 1px solid var(--hzsig-line);
}

body .nav-links a,
body .nav-inner a {
  transition: color .18s ease;
}

body .nav-links a:hover,
body .nav-inner a:hover {
  color: var(--hzsig-gold);
}

body .hero {
  background: linear-gradient(
    117deg,
    #0c151b 0%,
    #24343c 68%,
    #344148 100%
  );
  color: #fff;
  border-radius: 0;
}

body .hero h1,
body .hero h2 {
  color: #fff;
  letter-spacing: -.025em;
}

body .hero p {
  color: #d0dadd;
}

body .hero .hero-buttons a,
body .hero .hero-buttons button {
  border-radius: 10px;
  transition: transform .18s ease,
              box-shadow .18s ease;
}

body .hero .hero-buttons a:hover,
body .hero .hero-buttons button:hover {
  transform: translateY(-1px);
}

body .catalogue,
body .catalogue-main {
  color: var(--hzsig-ink);
}

body .catalogue-toolbar {
  background-color: var(--hzsig-white);
  border: 1px solid var(--hzsig-line);
  border-radius: 14px;
}

body .filters {
  background-color: var(--hzsig-white);
  border: 1px solid var(--hzsig-line);
  border-radius: 16px;
}

body .filter-block {
  border-color: var(--hzsig-line);
}

body .filter-heading {
  color: var(--hzsig-ink);
  font-weight: 700;
}

body .product-grid > * {
  border-radius: 16px;
  transition: box-shadow .2s ease,
              border-color .2s ease,
              transform .2s ease;
}

@media (hover: hover) {
  body .product-grid > *:hover {
    border-color: #d7b98d;
    box-shadow: 0 12px 32px rgba(22,32,39,.09);
    transform: translateY(-2px);
  }
}

body .cart-header {
  color: var(--hzsig-ink);
}

body .cart-summary {
  border-radius: 14px;
}

body #cart-dialog,
body #checkout-dialog {
  color: var(--hzsig-ink);
}

body #cart-dialog .cart-header,
body #checkout-dialog .checkout-content {
  border-color: var(--hzsig-line);
}

body #cart-dialog button:focus-visible,
body #checkout-dialog button:focus-visible,
body #filters input:focus-visible {
  outline: 3px solid var(--hzsig-gold);
  outline-offset: 2px;
}

body .footer-main,
body .footer-bottom {
  background-color: #10191f;
  color: #d5dddf;
}

body .footer-brand {
  color: var(--hzsig-gold-light);
}

@media (max-width: 767px) {
  body .catalogue-toolbar {
    border-radius: 12px;
  }

  body .filters {
    border-radius: 12px;
  }

  body .product-grid > * {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .product-grid > *,
  body .hero .hero-buttons a,
  body .hero .hero-buttons button {
    transition: none;
    transform: none;
  }
}


/* HZDESIGN011: Signature hero readability correction */

body .hero .hero-copy h1 > span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body .hero .hero-copy h1 > span:last-child {
    color: #e7d5b8 !important;
    -webkit-text-fill-color: #e7d5b8 !important;
}

body .hero .hero-copy .btn.ghost {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: transparent !important;
    border: 1px solid #e7d5b8 !important;
}

body .hero .hero-copy .btn.ghost:hover {
    background-color: rgba(231,213,184,.12) !important;
    border-color: #ffffff !important;
}

body .hero .hero-copy .btn.ghost span {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

body .hero .hero-copy > p {
    color: #d0dadd !important;
}


/* HZDESIGN013: HAMZATEL SIGNATURE HERO REFINEMENT */

/* Premium showcase background */
body .hero .hero-stage {
    background:
        radial-gradient(
            ellipse at 42% 32%,
            #536d79 0%,
            #304650 42%,
            #182a34 75%,
            #101b23 100%
        ) !important;
    border: 1px solid rgba(231,213,184,.25);
    box-shadow:
        0 24px 55px rgba(5,15,23,.20),
        inset 0 1px 0 rgba(255,255,255,.10);
}

/* Refined primary action */
body .hero .hero-buttons .btn.primary {
    background: #e7d5b8 !important;
    background-image: none !important;
    color: #19242a !important;
    -webkit-text-fill-color: #19242a !important;
    border: 1px solid #e7d5b8 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
}

body .hero .hero-buttons .btn.primary span {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

body .hero .hero-buttons .btn.primary:hover {
    background: #f3e5cd !important;
    border-color: #f3e5cd !important;
}

/* Refined secondary action */
body .hero .hero-buttons .btn.ghost {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(231,213,184,.80) !important;
}

/* Showcase typography */
body .hero-stage .stage-label,
body .hero-stage .floating-collection {
    color: #f2dfbf !important;
    -webkit-text-fill-color: #f2dfbf !important;
}

/* Preserve accessible focus */
body .hero .btn:focus-visible {
    outline: 3px solid #f3e5cd !important;
    outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
    body .hero .btn {
        transition: none !important;
    }
}


/* HZDESIGN015 SIGNATURE CATALOGUE */

/* Clean premium header */
body .header-main {
    background: #ffffff;
    border-bottom: 1px solid #e4e6e5;
}

body .nav-row {
    background: #ffffff;
    border-bottom: 1px solid #e4e6e5;
}

/* Catalogue surfaces */
body .catalogue-toolbar {
    background: #ffffff;
    border: 1px solid #e4e6e5;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(22,32,39,.035);
}

/* Product card finish */
body .product-grid > * {
    background-color: #ffffff;
    border-color: #e1e5e7;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(22,32,39,.035);
}

@media (hover:hover) {
    body .product-grid > *:hover {
        border-color: #c8ab83;
        box-shadow: 0 15px 35px rgba(22,32,39,.10);
    }
}

/* Filter panel consistency */
body .catalogue-layout .filters,
body .filters {
    background-color: #ffffff;
    border-color: #e4e6e5;
    border-radius: 16px;
}

body .filter-heading {
    color: #162027;
}

/* Keep controls clearly identifiable */
body .catalogue-toolbar select:focus-visible,
body .filters select:focus-visible,
body .filters input:focus-visible {
    outline: 2px solid #bc9664;
    outline-offset: 2px;
}

/* Mobile refinements */
@media (max-width:767px) {
    body .product-grid > * {
        border-radius: 13px;
        box-shadow: 0 3px 12px rgba(22,32,39,.04);
    }

    body .catalogue-toolbar {
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion:reduce) {
    body .product-grid > * {
        transition: none;
        transform: none;
    }
}


/* HZDESIGN017 CART CHECKOUT SIGNATURE */

/* Cart: preserve drawer mechanics and dimensions */
body #cart-dialog.drawer {
    background-color: #ffffff;
    color: #162027;
    border-color: #e4e6e5;
}

body #cart-dialog #cart-title {
    color: #162027;
    letter-spacing: -.02em;
}

body #cart-dialog #cart-items {
    background-color: #ffffff;
}

body #cart-dialog #cart-summary {
    background-color: #f7f6f2;
    border-top: 1px solid #e4e6e5;
    border-radius: 14px 14px 0 0;
}

/* Keep existing cart operations and button states */
body #cart-dialog .cart-image {
    background-color: #f3f5f5;
    border-radius: 12px;
}

/* Checkout: surface-only visual refinements */
body #checkout-dialog.checkout-modal {
    color: #162027;
}

body #checkout-dialog #checkout-title {
    color: #162027;
    letter-spacing: -.02em;
}

body #checkout-dialog #checkout-content {
    color: #162027;
}

/* Scoped keyboard focus; do not recolor payment states */
body #cart-dialog button:focus-visible,
body #checkout-dialog button:focus-visible,
body #checkout-dialog input:focus-visible,
body #checkout-dialog select:focus-visible,
body #checkout-dialog textarea:focus-visible {
    outline: 3px solid #bc9664;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    body #cart-dialog *,
    body #checkout-dialog * {
        scroll-behavior: auto;
    }
}


/* HZDESIGN026 CART CHECKOUT SIGNATURE V6
   Page-scoped visual refinements only.
   Preserve all payment and order operations.
*/

/* CART */

.cart-page .cart-items-panel {
    border-color: #e4e6e5 !important;
    border-radius: 18px;
}

.cart-page .cart-summary {
    background: #f7f6f2 !important;
    border-color: #e4e6e5 !important;
    border-radius: 18px;
}

.cart-page .cart-summary h2,
.cart-page .cart-summary .summary-total {
    color: #162027 !important;
}

.cart-page .checkout-button:not(:disabled) {
    background: #e7d5b8 !important;
    background-image: none !important;
    color: #19242a !important;
    border-color: #d6b783 !important;
    box-shadow: 0 8px 22px rgba(22,32,39,.08);
}

.cart-page .checkout-button:not(:disabled):hover {
    background: #f3e5cd !important;
}

.cart-page .checkout-button:not(:disabled):focus-visible {
    outline: 3px solid #bc9664 !important;
    outline-offset: 3px;
}

/* PREMIUM CHECKOUT */

.checkout-page .checkout-card {
    background-color: #ffffff;
    border-color: #e4e6e5 !important;
    border-radius: 18px;
}

.checkout-page .checkout-card-title {
    color: #162027;
}

.checkout-page .checkout-summary {
    background-color: #f7f6f2 !important;
    border-color: #e4e6e5 !important;
    border-radius: 18px;
}

.checkout-page .checkout-summary > h2 {
    background: linear-gradient(
        115deg,
        #101b23 0%,
        #283c46 100%
    ) !important;
    color: #ffffff !important;
}

.checkout-page .checkout-summary .summary-total {
    color: #162027;
}

.checkout-page .hzp-progress-item {
    border-color: #e4e6e5 !important;
}

.checkout-page .checkout-card input:focus-visible,
.checkout-page .checkout-card select:focus-visible,
.checkout-page .checkout-card textarea:focus-visible {
    outline: 2px solid #bc9664;
    outline-offset: 2px;
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .cart-page .checkout-button,
    .checkout-page .checkout-card {
        transition: none !important;
    }
}
