/* ==========================================================================
   2026 Redesign — "Clean & Airy" override layer
   Loads AFTER style.css / home.css. Purely presentational; relies on the
   design tokens declared in layouts/front-end/app.blade.php (:root).
   Tokens used: --brand --brand-2 --surface --bg --ink --muted --line
                --radius --radius-sm --radius-pill --shadow-sm --shadow-md
                --space --ease
   ========================================================================== */

/* ---- Global rhythm -------------------------------------------------------- */
body {
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.__inline-61 > section,
.__inline-61 > .container,
.__inline-61 > div > .container {
    margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

/* Generic card surfaces in the home grid */
.__inline-61 .card,
.card.__shadow {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    background: var(--surface);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

/* ---- Unified section headers --------------------------------------------- */
.section-header,
.__inline-61 .section-header {
    align-items: center;
    margin-bottom: 1rem;
}

.feature-product-title,
.__inline-61 .feature-product-title,
.for-feature-title,
.__inline-61 .for-feature-title {
    font-weight: 700 !important;
    color: var(--ink) !important;
    letter-spacing: -0.01em;
}

.arrival-title {
    align-items: center;
    font-weight: 700;
    color: var(--ink);
}

/* "View all" pill link */
.view-all-text {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    transition: background .25s var(--ease), color .25s var(--ease);
}

.view-all-text:hover {
    background: var(--brand);
    color: #fff !important;
}

/* ---- Product cards (shared: featured / category / single) ---------------- */
.product-single-hover {
    border: 1px solid var(--line);
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
    height: 100%;
}

.product-single-hover:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-single-hover .overflow-hidden {
    border-radius: var(--radius);
}

.product-single-hover .inline_product {
    aspect-ratio: 1.05;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    padding: 10px;
}

.product-single-hover .inline_product img {
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-single-hover .single-product-details {
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 12px 6px 10px;
}

.product-single-hover .single-product-details a {
    font-weight: 600;
    color: var(--ink);
    -webkit-line-clamp: 2 !important;
    line-height: 1.3;
}

.product-single-hover .single-product-details a:hover {
    color: var(--brand);
}

.product-single-hover .product-price .text-accent {
    font-weight: 700;
    font-size: 1.02rem;
}

/* Quick-view button refinement (keeps existing slide-up reveal mechanic) */
.product-single-hover .quick-view a.btn {
    border-radius: var(--radius-pill) !important;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    padding: 7px 16px;
}

/* Discount badge -> rounded pill */
.for-discoutn-value {
    background: var(--brand-2);
    color: #fff;
    font-weight: 600;
    font-size: 11px !important;
    border-radius: var(--radius-pill) !important;
    padding: 3px 10px !important;
    box-shadow: var(--shadow-sm);
    top: 10px !important;
}
html[dir="ltr"] .for-discoutn-value { left: 10px; }
html[dir="rtl"] .for-discoutn-value { right: 10px; }

/* ---- Flash deal card (_product-card-1) ----------------------------------- */
.flash_deal_product {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
    overflow: hidden;
    cursor: pointer;
}

.flash_deal_product:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.flash-deals-background-image {
    border-radius: var(--radius-sm);
}

.flash-product-title {
    font-weight: 600;
    color: var(--ink);
}

.flash-product-price {
    font-weight: 700;
}

/* ---- Flash-deal countdown panel ------------------------------------------ */
.countdown-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.countdown-background {
    border-radius: var(--radius-sm);
    padding: 12px;
}

.cz-countdown-days,
.cz-countdown-hours,
.cz-countdown-minutes,
.cz-countdown-seconds {
    border-radius: 10px !important;
    padding: 6px 8px;
    min-width: 46px;
    background: rgba(255, 255, 255, .12);
}

/* ---- Featured / deal-of-the-day panels ----------------------------------- */
.__featured-deal-wrap {
    border-radius: var(--radius) !important;
    overflow: hidden;
}

.deal_of_the_day {
    border-radius: var(--radius);
    overflow: hidden;
}

.recomanded-product-card {
    background: var(--surface);
    border-radius: var(--radius);
    margin: 0 14px;
}

.recomanded-buy-button .buy_btn,
.buy_btn {
    border-radius: var(--radius-pill);
    font-weight: 600;
    padding: 8px 22px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.recomanded-buy-button .buy_btn:hover,
.buy_btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ---- Category / seller tiles --------------------------------------------- */
.__cate-item .__img {
    border-radius: var(--radius-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.__cate-item:hover .__img {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.__cate-item .__img.circle {
    border-radius: 50%;
}

.__cate-item p {
    color: var(--muted);
    font-weight: 500;
}

.__cate-item:hover p {
    color: var(--brand);
}

/* ---- Brand slider items -------------------------------------------------- */
.__brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}

.__brand-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

/* ---- Best-selling / top-rated rows --------------------------------------- */
.__best-selling {
    border-radius: var(--radius-sm);
    transition: background .2s var(--ease);
    padding: 6px;
}

.__best-selling:hover {
    background: color-mix(in srgb, var(--brand) 5%, transparent);
}

.best-selleing-image,
.top-rated-image {
    border-radius: var(--radius-sm);
}

/* ---- Hero slider --------------------------------------------------------- */
.__top-slider-images .carousel,
.__slide-img {
    border-radius: var(--radius) !important;
    overflow: hidden;
}

.__slide-img {
    object-fit: cover;
}

.carousel-indicators li {
    border-radius: var(--radius-pill);
    height: 6px;
    width: 18px;
    transition: width .25s var(--ease), background .25s var(--ease);
}

.carousel-indicators li.active {
    width: 30px;
    background: var(--brand);
}

/* ---- Banners ------------------------------------------------------------- */
.footer_banner_img {
    border-radius: var(--radius);
    object-fit: cover;
}

/* ---- Shipping policy strip ----------------------------------------------- */
.shipping-policy-web {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(1rem, 2.5vw, 2rem);
}

.shipping-method-system {
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: transform .25s var(--ease);
}

.shipping-method-system:hover {
    transform: translateY(-3px);
}

.shipping-method-system .size-60 {
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    border-radius: 50%;
    padding: 12px;
    box-sizing: content-box;
}

/* ---- Buttons (global, airy) ---------------------------------------------- */
.btn--primary,
.btn-outline-accent,
.btn-outline-primary {
    border-radius: var(--radius-pill) !important;
    font-weight: 600;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ---- Categorized product blocks ------------------------------------------ */
.__cate-product-side-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.__cate-product-side-img img {
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.__cate-product-side-img:hover img {
    transform: scale(1.05);
}

/* Graceful fallback: keep placeholder imagery tidy */
img[src*="image-place-holder"] {
    object-fit: contain;
    background: #fafbfc;
}

/* ==========================================================================
   Header — airy navbar
   ========================================================================== */
header.box-shadow-sm {
    box-shadow: 0 1px 0 var(--line), 0 4px 16px -12px rgba(16,24,40,.25) !important;
}

.topbar {
    font-size: .82rem;
}

.navbar-sticky.bg-light {
    background: var(--surface) !important;
}

/* Modern rounded search */
.search_form {
    position: relative;
}

.search-bar-input,
.search-bar-input-mobile {
    border-radius: var(--radius-pill) !important;
    border: 1px solid var(--line) !important;
    padding-left: 18px;
    padding-right: 18px;
    height: 44px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.search-bar-input:focus,
.search-bar-input-mobile:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent) !important;
}

.search_button {
    border-radius: var(--radius-pill) !important;
    width: 44px;
    height: 36px;
    margin: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir="ltr"] .search_button { right: 0 !important; left: unset !important; }
html[dir="rtl"] .search_button { left: 0 !important; right: unset !important; }

.search-card {
    border-radius: var(--radius) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-md) !important;
    overflow: hidden;
}

/* Tool icons (wishlist / account / cart) */
.navbar-tool-icon-box {
    border-radius: var(--radius-sm);
    transition: transform .2s var(--ease), background .2s var(--ease);
}

.navbar-tool:hover .navbar-tool-icon-box {
    transform: translateY(-2px);
}

.navbar-tool-label {
    border-radius: var(--radius-pill) !important;
    font-weight: 600;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 6px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
}

/* Announcement bar */
#anouncement {
    font-size: .85rem;
    letter-spacing: .01em;
}

/* ==========================================================================
   Footer — airy
   ========================================================================== */
.page-footer .footer-heder {
    color: var(--ink);
    letter-spacing: .02em;
}

.page-footer .widget-list-link {
    color: var(--muted);
    transition: color .2s var(--ease), padding .2s var(--ease);
}

.page-footer .widget-list-link:hover {
    color: var(--brand);
}

html[dir="ltr"] .page-footer .widget-list-item .widget-list-link:hover { padding-left: 4px; }
html[dir="rtl"] .page-footer .widget-list-item .widget-list-link:hover { padding-right: 4px; }

/* Newsletter */
.subscribe-border {
    border-radius: var(--radius-pill) !important;
    border: 1px solid var(--line) !important;
    height: 48px;
    padding-right: 130px !important;
    padding-left: 18px !important;
}

html[dir="rtl"] .subscribe-border {
    padding-left: 130px !important;
    padding-right: 18px !important;
}

.subscribe-button {
    border-radius: var(--radius-pill) !important;
    background: var(--brand);
    color: #fff;
    border: 0;
    font-weight: 600;
    padding: 8px 22px;
    position: absolute;
    top: 5px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

html[dir="ltr"] .subscribe-button { right: 5px; }
html[dir="rtl"] .subscribe-button { left: 5px; }

.subscribe-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Social buttons */
.social-btn {
    border-radius: 50% !important;
    transition: transform .2s var(--ease);
}

.social-btn:hover {
    transform: translateY(-3px);
}
