/* PatelBella design system — pixel-perfect fallback matching HTML mockups */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background-color: #fcf9f8;
  color: #1c1b1b;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Brand colors */
.bg-primary { background-color: #001a48 !important; }
.bg-primary-container { background-color: #002d72 !important; }
.bg-secondary { background-color: #735c00 !important; }
.bg-secondary-fixed { background-color: #ffe088 !important; }
.bg-secondary-fixed-dim { background-color: #e9c349 !important; }
.bg-background { background-color: #fcf9f8 !important; }
.bg-surface { background-color: #fcf9f8 !important; }
.bg-surface-container { background-color: #f0eded !important; }
.bg-surface-container-low { background-color: #f6f3f2 !important; }
.bg-surface-container-lowest { background-color: #ffffff !important; }
.bg-tertiary { background-color: #1c1c19 !important; }
.bg-secondary-container { background-color: #fed65b !important; }

.text-primary { color: #001a48 !important; }
.text-secondary { color: #735c00 !important; }
.text-white { color: #ffffff !important; }
.text-on-background { color: #1c1b1b !important; }
.text-on-surface { color: #1c1b1b !important; }
.text-on-surface-variant { color: #444651 !important; }
.text-on-primary { color: #ffffff !important; }
.text-on-primary-container { color: #7a97e2 !important; }
.text-on-secondary-fixed { color: #241a00 !important; }
.text-on-tertiary { color: #ffffff !important; }
.text-on-tertiary-container { color: #9b9994 !important; }

.border-secondary { border-color: #735c00 !important; }
.border-secondary-fixed-dim { border-color: #e9c349 !important; }
.border-outline-variant { border-color: #c4c6d2 !important; }
.border-primary { border-color: #001a48 !important; }
.border-white { border-color: #ffffff !important; }

/* Layout spacing (matches Tailwind config) */
.max-w-container-max { max-width: 1440px; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-3xl { max-width: 48rem; }
.px-margin-desktop { padding-left: 80px; padding-right: 80px; }
.px-margin-mobile { padding-left: 20px; padding-right: 20px; }
.gap-gutter { gap: 24px; }

@media (max-width: 768px) {
  .px-margin-desktop { padding-left: 20px; padding-right: 20px; }
}

/* Typography — force HTML fonts on all elements */
h1, h2, h3, h4, .font-display-lg, .font-headline-lg, .font-headline-md, .font-headline-lg-mobile {
  font-family: 'Playfair Display', Georgia, serif !important;
}
p, a, span, li, label, input, button, .font-body-md, .font-body-lg, .font-label-caps, nav {
  font-family: 'Manrope', Arial, sans-serif;
}
h1.text-display-lg,
.font-display-lg.text-display-lg {
  font-size: 64px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  color: #001a48 !important;
}
h2.text-label-caps.text-secondary,
.font-label-caps.text-secondary {
  color: #735c00 !important;
  font-size: 12px !important;
  letter-spacing: 0.2em !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}
.text-body-lg.text-on-surface-variant,
p.text-body-lg {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #444651 !important;
}

/* Layout utilities (Tailwind fallback) */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-4 { gap: 1rem !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.sticky { position: sticky !important; }
.top-0 { top: 0 !important; }
.inset-0 { inset: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-50 { z-index: 50 !important; }
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.overflow-hidden { overflow: hidden !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-32 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
.px-10 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.leading-tight { line-height: 1.25 !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.border { border-width: 1px !important; border-style: solid !important; }
.grid { display: grid !important; }

/* Hero section exact match */
.patelbella-hero,
section.relative.h-\[90vh\] {
  position: relative !important;
  min-height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.patelbella-hero-actions {
  display: flex !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
}

/* Buttons — exact HTML match */
.pb-btn {
  display: inline-block !important;
  padding: 1rem 2.5rem !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border: 1px solid transparent !important;
}
.pb-btn-primary {
  background-color: #001a48 !important;
  color: #ffffff !important;
  border-color: #001a48 !important;
  box-shadow: 0 10px 15px -3px rgba(0, 26, 72, 0.1) !important;
}
.pb-btn-primary:hover {
  background-color: #002d72 !important;
  border-color: #002d72 !important;
}
.pb-btn-outline {
  background-color: transparent !important;
  color: #001a48 !important;
  border-color: #735c00 !important;
}
.pb-btn-outline:hover {
  background-color: rgba(233, 195, 73, 0.1) !important;
}

/* Header nav */
header nav a {
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

/* Typography */
.font-display-lg, .font-headline-lg, .font-headline-md, .font-headline-lg-mobile {
  font-family: 'Playfair Display', Georgia, serif !important;
}
.font-body-md, .font-body-lg, .font-label-caps {
  font-family: 'Manrope', Arial, sans-serif !important;
}

.text-display-lg {
  font-size: 64px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}
.text-headline-lg {
  font-size: 40px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
.text-headline-md {
  font-size: 28px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}
.text-body-md {
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
.text-body-lg {
  font-size: 18px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
.text-label-caps {
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

@media (max-width: 768px) {
  .text-display-lg { font-size: 40px; }
  .text-headline-lg { font-size: 32px; }
}

/* Header */
header {
  background-color: rgba(252, 249, 248, 0.95) !important;
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(196, 198, 210, 0.3);
}

/* Hero buttons — must match HTML exactly */
a.bg-primary,
button.bg-primary,
.bg-primary.text-white {
  background-color: #001a48 !important;
  color: #ffffff !important;
  border: 1px solid #001a48 !important;
}
a.border-secondary.text-primary,
.border.border-secondary.text-primary {
  background-color: transparent !important;
  color: #001a48 !important;
  border: 1px solid #735c00 !important;
}
a.bg-primary:hover,
button.bg-primary:hover {
  background-color: #002d72 !important;
  border-color: #002d72 !important;
}
a.border-secondary.text-primary:hover {
  background-color: rgba(233, 195, 73, 0.1) !important;
}

/* Hero gradient overlay */
.patelbella-hero-gradient,
.bg-gradient-to-r.from-background\/40,
.from-background\/40 {
  background: linear-gradient(to right, rgba(252, 249, 248, 0.4), transparent) !important;
}

/* Header nav active underline */
.border-b-2.border-secondary-fixed-dim {
  border-bottom: 2px solid #e9c349 !important;
}

/* Cart badge */
.bg-primary.text-white.text-\[10px\] {
  background-color: #001a48 !important;
  color: #ffffff !important;
}

.patelbella-accordion-content.hidden { display: none !important; }
.opacity-100 { opacity: 1 !important; }
.translate-y-0 { transform: translateY(0) !important; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
}

.text-shadow-sm { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.transition-soft { transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.product-card:hover .product-action { opacity: 1; transform: translateY(0); }
.product-card:hover .quick-view { opacity: 1; transform: translateY(0); }

.custom-underline { position: relative; }
.custom-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}
.custom-underline:hover::after { width: 100%; }

.slider-line {
    height: 2px;
    width: 40px;
    background: #e5e2e1;
    transition: background 0.3s;
}
.slider-line.active { background: #735c00; }

.luxury-underline { position: relative; }
.luxury-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #735c00;
    transition: width 0.3s ease;
}
.luxury-underline:hover::after { width: 100%; }

.form-input-luxury {
    border: none;
    border-bottom: 1px solid #747782;
    background-color: transparent;
    padding: 12px 0;
    width: 100%;
    transition: border-color 0.3s ease;
}
.form-input-luxury:focus {
    outline: none;
    border-bottom: 1px solid #735c00;
}

.luxury-shadow { box-shadow: 0 10px 30px rgba(0, 45, 114, 0.05); }
.gold-border { border-color: rgba(115, 92, 0, 0.2); }
.canvas-bg { background-color: #F9F6F0; }

.unstitched-glow { box-shadow: 0 10px 30px rgba(0, 45, 114, 0.05); }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* WooCommerce: hide default styling that breaks pixel-perfect layout */
.woocommerce-notices-wrapper { margin-bottom: 1rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(196, 198, 210, 0.3);
    background: #f6f3f2;
}
.woocommerce .quantity .qty {
    width: 2.5rem;
    text-align: center;
    background: transparent;
    border: none;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2rem;
}
.woocommerce-checkout .form-row-wide { grid-column: span 2; }
.woocommerce-checkout .form-row label {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #444651;
    margin-bottom: 0.25rem;
    display: block;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.woocommerce-account .form-row input,
.woocommerce-account .form-row select,
.woocommerce-account .form-row textarea,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="password"],
.form-input-luxury,
.luxury-input {
    border: none !important;
    border-bottom: 1px solid #747782 !important;
    background: transparent !important;
    padding: 12px 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-account .form-row input:focus,
.woocommerce-account .form-row select:focus,
.woocommerce-account input:focus,
.form-input-luxury:focus,
.luxury-input:focus {
    outline: none !important;
    border-bottom-color: #735c00 !important;
    box-shadow: none !important;
}

/* WooCommerce Block Checkout input & label overrides to prevent overlaps */
.wc-block-components-text-input__input,
.wc-block-components-combobox__input,
.wc-block-components-text-input input,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout select,
.wc-block-checkout textarea,
.wc-block-components-address-form input,
.wc-block-components-address-form select {
    border: none !important;
    border-bottom: 1px solid #747782 !important;
    background: transparent !important;
    padding: 1.25rem 0 0.25rem 0 !important;
    height: 3.5rem !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.wc-block-components-text-input__input:focus,
.wc-block-components-combobox__input:focus,
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-components-address-form input:focus,
.wc-block-components-address-form select:focus {
    outline: none !important;
    border-bottom-color: #735c00 !important;
    box-shadow: none !important;
}
.wc-block-components-text-input label,
.wc-block-components-text-input__label {
    top: 1.25rem !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input.is-active .wc-block-components-text-input__label,
.wc-block-components-text-input:focus-within label,
.wc-block-components-text-input:focus-within .wc-block-components-text-input__label {
    top: 0.25rem !important;
    font-size: 11px !important;
    transform: translateY(-0.5rem) !important;
}

/* Style WooCommerce Blocks sidebar/order summary and checkout buttons */
.wc-block-checkout__sidebar,
.wc-block-components-sidebar,
.wc-block-checkout__sidebar-wrapper {
    background-color: #ffffff !important;
    border: 1px solid rgba(196, 198, 210, 0.2) !important;
    padding: 2.5rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}
.wc-block-components-checkout-place-order-button,
.wc-block-components-button,
.wc-block-checkout__actions button {
    background-color: #001a48 !important;
    color: #ffffff !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 1.5rem !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button:hover,
.wc-block-checkout__actions button:hover {
    background-color: #002d72 !important;
}
#add_payment_method #payment,
.woocommerce-checkout #payment {
    background: #f6f3f2;
    border: 1px solid rgba(196, 198, 210, 0.2);
    padding: 2rem;
}
#add_payment_method #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.5rem 0;
    border: none;
    font-size: 14px;
}
.woocommerce-checkout #place_order {
    width: 100%;
    background: #001a48;
    color: #fff;
    padding: 1.5rem;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}
.woocommerce-checkout #place_order:hover { background: #002d72; }
.woocommerce-cart-form img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce-ordering select {
    background: transparent;
    border: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #001a48;
}
.patelbella-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #c4c6d2;
    margin: 0 0.25rem;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.patelbella-pagination .page-numbers.current {
    background: #001a48;
    color: #fff;
    border-color: #001a48;
}

/* WooCommerce My Account Page layout overrides to reset floats and enforce flexbox layout */
.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 80px !important;
    padding-right: 80px !important;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (min-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 16rem !important;
        flex-shrink: 0 !important;
        float: none !important;
    }
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    flex: 1 1 0% !important;
}

/* Force consistent logo sizing across the site */
header img,
.woocommerce header img,
.woocommerce-page header img,
header a img {
    height: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    object-fit: contain !important;
}
footer img,
.woocommerce footer img,
.woocommerce-page footer img,
footer a img {
    height: 64px !important;
    max-height: 64px !important;
    width: auto !important;
    object-fit: contain !important;
}
@media (max-width: 768px) {
    header img,
    .woocommerce header img,
    .woocommerce-page header img,
    header a img {
        height: 64px !important;
        max-height: 64px !important;
    }
    footer img,
    .woocommerce footer img,
    .woocommerce-page footer img,
    footer a img {
        height: 48px !important;
        max-height: 48px !important;
    }
}

.mobile-drawer-logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Style default WooCommerce order overview list (ul.order_details) beautifully and make it responsive */
ul.order_details,
ul.woocommerce-order-overview {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
    padding: 1.5rem !important;
    background: #f6f3f2 !important;
    border: 1px solid rgba(196, 198, 210, 0.2) !important;
    list-style: none !important;
}

ul.order_details li,
ul.woocommerce-order-overview li {
    float: none !important;
    width: 100% !important;
    border: none !important;
    border-bottom: 1px dashed rgba(196, 198, 210, 0.5) !important;
    padding-bottom: 1rem !important;
    margin: 0 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #444651 !important;
}

ul.order_details li:last-child,
ul.woocommerce-order-overview li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

ul.order_details li strong,
ul.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #001a48 !important;
    margin-top: 0.25rem !important;
    font-weight: 600 !important;
}

@media (min-width: 768px) {
    ul.order_details,
    ul.woocommerce-order-overview {
        flex-direction: row !important;
        justify-content: space-between !important;
    }
    ul.order_details li,
    ul.woocommerce-order-overview li {
        width: auto !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        border-right: 1px solid rgba(196, 198, 210, 0.3) !important;
        padding-right: 1.5rem !important;
    }
    ul.order_details li:last-child,
    ul.woocommerce-order-overview li:last-child {
        border-right: none !important;
        padding-right: 0 !important;
    }
}

/* Force consistent layout padding on mobile for WooCommerce pages/containers */
@media (max-width: 768px) {
    .woocommerce,
    .woocommerce-checkout,
    .woocommerce-page,
    #primary,
    main {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Style WooCommerce notices, warnings, and messages cleanly */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notice {
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    list-style: none !important;
    line-height: 1.6 !important;
}

.woocommerce-error {
    background-color: #ffdad6 !important;
    color: #93000a !important;
    border-left: 4px solid #ba1a1a !important;
}

.woocommerce-message {
    background-color: #e5e2dc !important;
    color: #1c1c18 !important;
    border-left: 4px solid #735c00 !important;
}

.woocommerce-info {
    background-color: #dae2ff !important;
    color: #001946 !important;
    border-left: 4px solid #001a48 !important;
}


