/* Pehrawaah Customer-Facing Refinement Layer — Royal Emerald & Champagne Gold */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--color-text-main, #161E1A);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 16px;
    line-height: 1.65;
    background: #FBF9F5;
}
.tf-main { min-height: 60vh; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }

/* Themed notifications */
.tf-toast-region { position: fixed; z-index: 5000; top: 110px; right: 24px; display: grid; gap: 12px; width: min(390px,calc(100vw - 28px)); pointer-events: none; }
.tf-toast { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) auto 28px; align-items: center; gap: 11px; min-height: 72px; padding: 13px 15px; overflow: hidden; border: 1px solid rgba(197,160,89,.35); border-radius: 14px; background: rgba(255,255,255,.98); color: #161E1A; box-shadow: 0 16px 40px rgba(11,59,44,.12); backdrop-filter: blur(16px); opacity: 0; pointer-events: auto; transform: translateX(28px) scale(.98); transition: opacity .25s ease,transform .25s ease; }
.tf-toast.show { opacity: 1; transform: translateX(0) scale(1); }
.tf-toast.hide { opacity: 0; transform: translateX(22px) scale(.98); }
.tf-toast-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E8F0EC; color: #0B3B2C; font-size: 18px; }
.tf-toast-error .tf-toast-icon { background: #FDE8E8; color: #9B1C1C; }
.tf-toast-info .tf-toast-icon { background: #FEF08A; color: #854D0E; }
.tf-toast-copy { min-width: 0; line-height: 1.35; }
.tf-toast-copy strong, .tf-toast-copy > span { display: block; }
.tf-toast-copy strong { margin-bottom: 3px; color: #07261C; font-size: 13px; font-weight: 700; }
.tf-toast-copy > span { color: #475550; font-size: 12px; }
.tf-toast-action { padding: 7px 11px; border-radius: 6px; background: #E8F0EC; color: #0B3B2C; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; border: 1px solid rgba(11,59,44,.15); }
.tf-toast-action:hover { background: #0B3B2C; color: #FFFFFF; }
.tf-toast-close { width: 28px; height: 28px; padding: 0; border: 0 !important; border-radius: 50%; background: transparent !important; color: #7B8C86 !important; font-size: 20px; line-height: 1; cursor: pointer; }
.tf-toast-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg,#C5A059,#0B3B2C); transform-origin: left; animation: tf-toast-progress 4.3s linear forwards; }
.tf-toast-error .tf-toast-progress { background: #E02424; }
.tf-toast-info .tf-toast-progress { background: #D97706; }
.tf-action-loading { cursor: wait !important; opacity: .7; pointer-events: none; }
@keyframes tf-toast-progress { to { transform: scaleX(0); } }

/* Header */
.tf-header { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(197,160,89,.25); box-shadow: 0 4px 20px rgba(11,59,44,.05); }
.tf-header-container { min-height: 80px; padding: 10px 32px; }
.tf-logo img { height: 58px; max-height: 58px; }
.tf-nav { gap: clamp(18px, 2.2vw, 32px); }
.tf-nav a { padding: 8px 2px; color: #161E1A; font-size: 14.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: color .2s ease; }
.tf-nav a:hover, .tf-nav a.active { color: #C5A059; }
.tf-icon-link { width: 42px; height: 42px; justify-content: center; border-radius: 50%; font-size: 19px; color: #161E1A; transition: all .2s ease; }
.tf-icon-link:hover { background: #E8F0EC; color: #0B3B2C; }

/* Homepage */
.tf-hero-slider { height: min(85vh, 800px) !important; min-height: 580px; }
.tf-hero-bg { object-position: center; }
.tf-hero-overlay, .tf-hero::after { background: linear-gradient(90deg, rgba(7,38,28,.75) 0%, rgba(11,59,44,.4) 55%, rgba(0,0,0,.15) 100%); }
.tf-hero-content { max-width: 760px; }
.tf-hero-content h1 { font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: .02em; text-shadow: 0 3px 20px rgba(0,0,0,.3); color: #FFFFFF; }
.tf-hero-content p { max-width: 620px; font-size: 18px; color: #F4EFE6; font-weight: 400; line-height: 1.6; }
.tf-hero-btn { padding: 14px 34px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tf-section { padding: 80px 0; }
.tf-section:nth-of-type(even) { background: #F6F3EC; }
.tf-section-head { margin-bottom: 38px; display: flex; align-items: flex-end; justify-content: space-between; }
.tf-section-title { margin: 0; color: #0B3B2C; font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: .02em; }
.tf-explore-btn { padding: 10px 22px; border: 1px solid #C5A059; border-radius: 8px; background: #FFFFFF; color: #0B3B2C; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: all .2s ease; }
.tf-explore-btn:hover { background: #0B3B2C; color: #FFFFFF; border-color: #0B3B2C; }

/* Shared product cards */
.tf-product-card { border: 1px solid rgba(11,59,44,.1); border-radius: 12px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(11,59,44,.06); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tf-product-card:hover { transform: translateY(-6px); border-color: #C5A059; box-shadow: 0 16px 36px rgba(11,59,44,.12); }
.tf-product-image-wrapper { aspect-ratio: 3 / 4; background: #F8F6F0; position: relative; overflow: hidden; }
.tf-product-image { height: 100%; width: 100%; object-fit: cover; transition: transform .45s ease; }
.tf-product-card:hover .tf-product-image { transform: scale(1.04); }
.tf-product-info { flex: 1; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.tf-product-name { min-height: 44px; font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: 16px; line-height: 1.35; color: #161E1A; }
.tf-product-name a { color: inherit; text-decoration: none; transition: color .2s ease; }
.tf-product-name a:hover { color: #0B3B2C; }
.tf-price-offer, .tf-price-regular { font-size: 18px; font-weight: 700; color: #0B3B2C; }
.tf-price-original { font-size: 14px; color: #7B8C86; text-decoration: line-through; }
.tf-add-to-cart-btn { min-height: 42px; padding: 10px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Badges */
.tf-badge { border-radius: 4px; padding: 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tf-badge-new { background: #0B3B2C !important; color: #FFFFFF !important; }
.tf-badge-discount { background: #C5A059 !important; color: #07261C !important; }
.tf-wishlist-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid rgba(197,160,89,.3); color: #7B8C86; display: grid; place-items: center; font-size: 16px; transition: all .2s ease; }
.tf-wishlist-icon:hover, .tf-wishlist-icon.active { background: #FFFFFF; color: #E02424; border-color: #E02424; }

/* Category pages */
.tf-category-hero { height: min(55vh, 560px); min-height: 400px; overflow: hidden; position: relative; }
.tf-category-hero-bg { object-position: center; width: 100%; height: 100%; object-fit: cover; }
.tf-category-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,38,28,.65) 0%, rgba(11,59,44,.5) 100%); }
.tf-category-hero-content { position: absolute; bottom: 18%; left: 8%; max-width: 800px; color: #FFFFFF; }
.tf-category-hero-content h1 { margin: 0 0 8px; font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: clamp(38px, 4.8vw, 60px); font-weight: 600; text-shadow: 0 3px 20px rgba(0,0,0,.3); color: #FFFFFF; }
.tf-category-hero-content p { margin: 0; font-size: 18px; color: #F4EFE6; line-height: 1.6; }
.tf-category-section { max-width: 1320px; margin: 0 auto; padding: 72px 28px 90px; }
.tf-category-title { margin: 0 0 40px; color: #0B3B2C; font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; }
.tf-category-section .tf-products-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }

/* Cart, wishlist and checkout */
.tf-cart-section, .tf-wishlist-section, .tf-checkout-section { max-width: 1260px; margin: 0 auto; padding: 64px 24px 96px; }
.tf-cart-title, .tf-wishlist-title, .tf-checkout-title { margin: 0 0 40px; color: #0B3B2C; font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: clamp(34px,3.8vw,46px); font-weight: 600; text-align: center; }
.tf-cart-item, .tf-cart-summary, .tf-wishlist-card, .tf-checkout-left, .tf-checkout-right { border: 1px solid rgba(11,59,44,.12); background: #FFFFFF; border-radius: 14px; box-shadow: 0 10px 30px rgba(11,59,44,.05); }
.tf-cart-item { padding: 22px; }
.tf-cart-img-box { height: 160px; background: #F8F6F0; border-radius: 8px; overflow: hidden; }
.tf-cart-img-box img, .tf-wishlist-img-box > img { object-fit: contain; width: 100%; height: 100%; }
.tf-cart-item-title { font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: 19px; line-height: 1.35; color: #161E1A; }
.tf-cart-item-title a { color: inherit; text-decoration: none; }
.tf-cart-summary { position: sticky; top: 120px; align-self: start; padding: 30px; }
.tf-cart-summary h2, .tf-checkout-left h2 { font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: 24px; font-weight: 600; color: #0B3B2C; }
.tf-checkout-btn, .tf-place-order-btn { padding: 14px 20px; border-radius: 8px; font-size: 14.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: #0B3B2C !important; color: #FFFFFF !important; }
.tf-checkout-btn:hover, .tf-place-order-btn:hover { background: #07261C !important; border-color: #C5A059 !important; }
.tf-wishlist-grid { gap: 24px; }
.tf-wishlist-card { border-radius: 14px; overflow: hidden; }
.tf-wishlist-img-box { background: #F8F6F0; height: 260px; }
.tf-wishlist-info { padding: 18px; }
.tf-wishlist-info h3 { font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: 17px; }
.tf-checkout-wrapper { gap: 28px; }
.tf-checkout-left, .tf-checkout-right { padding: 32px; }
.tf-checkout-right input, .tf-checkout-right textarea, .tf-checkout-right select { min-height: 48px; padding: 12px 14px; border: 1px solid rgba(11,59,44,.2); border-radius: 8px; background: #FFFFFF; font-size: 14.5px; box-sizing: border-box; }
.tf-checkout-right input:focus, .tf-checkout-right textarea:focus, .tf-checkout-right select:focus { border-color: #0B3B2C; outline: none; box-shadow: 0 0 0 3px rgba(11,59,44,.12); }

/* Empty state */
.tf-empty-state { max-width: 620px; margin: 10px auto 0; padding: 60px 30px; border: 1px solid rgba(197,160,89,.3); border-radius: 18px; background: #FFFFFF; box-shadow: 0 14px 36px rgba(11,59,44,.06); text-align: center; }
.tf-empty-state-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #E8F0EC; color: #0B3B2C; font-size: 26px; border: 1px solid rgba(197,160,89,.3); }
.tf-empty-state h2 { margin: 0 0 8px; color: #0B3B2C; font-family: var(--font-heading, 'Bodoni Moda', serif); font-size: 28px; font-weight: 600; }
.tf-empty-state p { margin: 0 auto 24px; color: #55605B; font-size: 15px; }
.tf-empty-state-btn { display: inline-flex; min-height: 44px; align-items: center; padding: 0 24px; border-radius: 8px; background: #0B3B2C; color: #FFFFFF; font-size: 13.5px; font-weight: 600; text-decoration: none; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(11,59,44,.2); }
.tf-empty-state-btn:hover { background: #07261C; color: #FFFFFF; }

/* Authentication */
.tf-auth-section { padding: 70px 20px 90px; }
.login-card { border: 1px solid rgba(197,160,89,.3) !important; border-radius: 16px !important; background: #FFFFFF !important; box-shadow: 0 18px 48px rgba(11,59,44,.08) !important; }
.login-title { font-family: var(--font-heading, 'Bodoni Moda', serif) !important; color: #0B3B2C !important; font-size: 28px !important; }
.login-subtitle, .form-group label, .auth-links { font-size: 14px !important; }
.form-group input { min-height: 48px; border-radius: 8px !important; border: 1px solid rgba(11,59,44,.2) !important; }
.form-group input:focus { border-color: #0B3B2C !important; box-shadow: 0 0 0 3px rgba(11,59,44,.1) !important; }
.login-btn, .social-btn { min-height: 48px; border-radius: 8px !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: .04em !important; }
.login-btn { background: #0B3B2C !important; color: #FFFFFF !important; }
.login-btn:hover { background: #07261C !important; }

/* Footer */
.tf-footer { margin-top: 0; padding-top: 64px; background: #07261C; color: #F4EFE6; border-top: 2px solid #C5A059; }
.tf-footer-container { padding-bottom: 48px; gap: 48px; }
.tf-footer-logo { height: 60px; }
.tf-footer-text, .tf-footer-links a, .tf-footer-policies a, .tf-footer-social a { color: #D5DFDC; font-size: 14.5px; line-height: 1.8; text-decoration: none; transition: color .2s ease; }
.tf-footer-links a:hover, .tf-footer-policies a:hover, .tf-footer-social a:hover { color: #C5A059; }
.tf-footer-links h4, .tf-footer-policies h4, .tf-footer-social h4 { margin-top: 0; font-family: var(--font-heading, 'Bodoni Moda', serif); color: #C5A059; font-size: 19px; letter-spacing: .03em; }
.tf-footer-bottom { border-top: 1px solid rgba(197,160,89,.2); padding-top: 24px; }
.tf-footer-bottom p { font-size: 13.5px; color: #A4B5AF; }
.tf-ows-logo { height: 50px !important; filter: brightness(0) invert(1); opacity: .7; }
.tf-ows-logo:hover { opacity: 1; }

/* Floating WhatsApp Concierge */
.tf-whatsapp-support { background: #0B3B2C; border: 1px solid #C5A059; box-shadow: 0 8px 24px rgba(11,59,44,.3); color: #FFFFFF; }
.tf-whatsapp-support:hover { background: #07261C; border-color: #DFBE7A; color: #DFBE7A; }

@media (max-width: 1024px) {
    .tf-category-section .tf-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 768px) {
    body { font-size: 15px; }
    .tf-header-container { min-height: 66px; padding: 8px 16px; }
    .tf-logo img { height: 48px; }
    .tf-hero-slider { height: 72vh !important; min-height: 500px; }
    .tf-hero-content h1 { font-size: 38px; }
    .tf-hero-content p { font-size: 16px; }
    .tf-section { padding: 55px 0; }
    .tf-carousel-track, .tf-category-section .tf-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .tf-category-hero { min-height: 350px; }
    .tf-category-hero-content p { font-size: 16px; }
    .tf-category-section { padding: 50px 14px 70px; }
    .tf-toast-region { top: 80px; right: 14px; }
    .tf-cart-wrapper { gap: 24px; }
    .tf-cart-summary { position: static; }
}
@media (max-width: 520px) {
    .tf-carousel-track { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .tf-product-info { padding: 12px 10px 14px; }
    .tf-product-name { min-height: 40px; font-size: 13.5px; }
    .tf-price-offer, .tf-price-regular { font-size: 15.5px; }
    .tf-section-head { align-items: center; text-align: center; }
    .tf-cart-item { grid-template-columns: 88px 1fr; gap: 12px; }
    .tf-cart-img-box { height: 110px; }
    .tf-wishlist-grid { gap: 12px; }
    .tf-wishlist-info { padding: 12px 8px; }
    .tf-checkout-left, .tf-checkout-right { padding: 20px 14px; }
    .tf-toast { grid-template-columns: 36px minmax(0,1fr) 24px; }
    .tf-toast-action { grid-column: 2; width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
    .tf-toast { transition: none; }
    .tf-toast-progress { animation: none; }
}
