/* ============================================================
   Storefront functional layer — loaded after the template's
   styles.css. Contains ONLY the rules the dynamic (database
   driven) build needs: the dark-header variant for inner pages,
   cart drawer / toast UI, shop filter widgets and form fixes.
   All design colors and layout come from the template itself.
   ============================================================ */

/* Header variant for pages without a hero image (template uses a
   static header there; this build keeps one absolute header). */
.sky-header-dark { background: rgba(255,255,255,.96); box-shadow: 0 2px 14px rgba(8,39,71,.08); }
.sky-header-dark .item-link, .sky-header-dark .nav-icon_link { color: #102C43 !important; }
.sky-header-dark .btn-mobile-menu-2 span, .sky-header-dark .btn-mobile-menu-2 span::before, .sky-header-dark .btn-mobile-menu-2 span::after { background: #102C43 !important; }

/* Cart count + toast + drawer helpers */
.sky-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%,16px); background: #102C43; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; z-index: 2000; opacity: 0; pointer-events: none; transition: all .25s ease; box-shadow: 0 8px 24px rgba(8,39,71,.35); }
.sky-toast.show { opacity: 1; transform: translate(-50%,0); }
.sky-toast-success { background: #0c6b3a; }
.sky-toast-error { background: #a4261d; }
.btn-remove-cart { background: none; border: 0; font-size: 20px; line-height: 1; color: #647789; padding: 2px 6px; cursor: pointer; }
.btn-remove-cart:hover { color: #a4261d; }
.product-action-list .action-card.active { color: #F5A623; }
.sky-checkout-note, .sky-stock-note { font-size: 13px; }
input[type=number].sky-qty { width: 64px; text-align: center; }
input.sky-qty { background: #fff !important; color: #102C43 !important; border: 1px solid #d8e6ee; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 60px #fff inset; -webkit-text-fill-color: #102C43; caret-color: #102C43; }

/* Demo notice (cart / checkout / auth) */
.sk-demo-note { background: #fff7e8; border: 1px solid #F5A623; color: #102C43; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }

/* Shop filter widgets (sidebar facets backed by real queries) */
.filter-tag { display: inline-flex; align-items: center; background: #f3efe9; border: 1px solid #e2d9cd; color: #102C43; border-radius: 20px; padding: 2px 10px; font-size: 12px; margin-right: 6px; }
.sidebar-filter .form-control { background: #fff; color: #111; border: 1px solid #ddd; border-radius: 8px; }
.tf-price-input { display: flex; align-items: center; gap: 6px; flex: 1; background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 6px 10px; }
.tf-price-input input { border: 0; outline: none; width: 100%; background: transparent; color: #111; font-size: 14px; }
.tf-price-range { width: 100%; accent-color: #a4836b; }
.tf-dropdown-sort .dropdown-menu .select-item { display: block; text-decoration: none; cursor: pointer; }
#shopFilters .tf-btn { width: 100%; justify-content: center; }
.tf-product-media-badges { position: absolute; top: 14px; left: 118px; z-index: 5; display: flex; gap: 8px; }
.gallery-badge { background: #fff; color: #111; border-radius: 20px; padding: 4px 14px; font-size: 13px; font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.gpay-logo { height: 20px; width: auto; filter: invert(1); margin-left: 4px; }
.shipping-method-list { display: grid; gap: 10px; margin-top: 12px; }
.shipping-method-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid #e3ddd2; border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; }
.shipping-method-item:has(input:checked) { border-color: #a4836b; }
.shipping-method-item input { accent-color: #a4836b; }
.payment-option { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; width: 100%; }
.payment-option input { accent-color: #a4836b; }
.box-ip-shipping { margin-top: 28px; }
.post-body p { margin-bottom: 16px; color: #555; line-height: 1.7; }
.post-body p:first-child { color: #111; font-size: 17px; }
.post-body h5, .post-body h4, .post-body h3 { color: #111; margin: 22px 0 10px; }
