@font-face {
    font-family: 'Whyte Inktrap Regular';
    /* Choose a name for your font */
    src: url('font/Whyte_Inktrap_Regular.woff2') format('woff2');
    /* Path to your WOFF2 file */
    font-display: swap;
    /* Recommended for better performance */
}

:root {
    /* colours */
    --body-background: #e0e0e0;
    --black: black;
    --black-light: #222;
    --white: white;
    --grey: #717171;
    --blue: #146ef5;
    /* Matches the fixed footer. script.js sets the measured height. */
    --footer-reveal: 0px;

    /* fonts */
    --font-family: "Inter", "Inter Placeholder", sans-serif;
    --font-family2: "Whyte Inktrap Regular", "Whyte Inktrap Regular Placeholder", sans-serif;
}

/* Navbar always black class */
nav.nav-black {
    background: var(--black) !important;
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--font-family2);
    background: var(--body-background);
    letter-spacing: -3px;
}

.font2 {
    font-family: var(--font-family);
    letter-spacing: 0;
}

/* .gaper{
    padding: 16px;
} */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 100vw; */
    /* width: 100dvw; */
    width: 100%;
    background: var(--black);
    padding: 12px;
    box-sizing: border-box;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav>* {
    width: 100%;
    display: flex;
}

nav a {
    text-decoration: none;
    color: white;
}

nav .cart-n {
    justify-content: end;
}

nav .links-l {
    justify-content: center;
    gap: 16px;
}

nav .logo-img {
    height: 1.5rem;
}

nav .logo-img img {
    height: 100%;
    width: auto;
}

/* cover */
.cover {
    /* width: 100vw; */
    /* width: 100dvw; */
    width: 100%;
    overflow: hidden;
    height: calc(100dvh - 0px);
    position: relative;
    box-sizing: border-box;
}

.cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cover h1 {
    font-size: 6.25rem;
    position: absolute;
    bottom: 0px;
    left: 32px;
    color: var(--white);
    font-weight: 400;
    line-height: 0.9;
}

.cover .darker {
    background: #00000026;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

/* cover */

.section {
    padding: 0 32px;
}

h2 {
    font-size: 3.875rem;
    font-weight: 400;
    color: var(--grey);
    line-height: 0;
}

h2 span {
    color: var(--black);
}

/* territory-block */

.territory-block {
    display: flex;
    width: 100%;
    height: calc(100dvh - 48px);
    position: relative;
}

.territory-block>.lsec {
    width: 100%;
    height: 100%;
    position: relative;
}

.territory-block .l1-t {
    background: var(--blue);
}

.territory-block .l2-t {
    background: var(--black);
}

.territory-block h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -22vh);
    font-weight: 400;
    color: var(--white);
    line-height: 0.85;
    font-size: 9.75rem;
}

.b-card {
    background: var(--black-light);
    color: var(--white);
    padding: 16px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    max-width: 25%;
    aspect-ratio: 1;
    z-index: 2;
}

.lsec .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-card .other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.b-card .p-name {
    font-size: 2rem;
}

.territory-block .b-card .p-name {
    font-size: 1.1rem;
    letter-spacing: 0;
    line-height: 1.35;
}

.territory-block .b-card .other {
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 12px;
    row-gap: 4px;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.territory-block .b-card .collection-label {
    flex: 1 1 auto;
    min-width: min(100%, 9rem);
    overflow-wrap: break-word;
}

.territory-block .b-card .collection-price {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

.territory-block .b-card {
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.territory-block .b-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--blue);
    transform: translateX(-102%);
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.territory-block .b-card > * {
    position: relative;
    z-index: 1;
}

.territory-block .lsec:hover .b-card::before,
.territory-block .lsec:focus-visible .b-card::before {
    transform: translateX(0);
}

.territory-block .lsec:hover .b-card,
.territory-block .lsec:focus-visible .b-card {
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.territory-block.animate-in .l1-t:hover .b-card,
.territory-block.animate-in .l2-t:hover .b-card {
    transform: translateY(0) scale(1.045);
}

.l2-t .b-card {
    top: 32px;
    left: 32px;
}

.l1-t .b-card {
    bottom: 16px;
    right: 16px;
}

/* territory-block */

/* pruduct slider listing */

.productlisting {
    display: flex;
    flex-direction: column;
    padding-top: 64px;
    overflow: hidden;
}

.productlisting .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 32px;
}

.productlisting h2 {
    font-size: 3.25rem;
    line-height: 0;
    font-weight: 400;
    color: var(--black);
}

/* Carousel controls container */
.carousel-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: 2px solid var(--black);
    transition: all 0.3s ease;
    user-select: none;
}

.carousel-arrow:hover:not(.disabled) {
    background: var(--black);
    transform: scale(1.05);
}

.carousel-arrow:hover:not(.disabled) svg {
    stroke: var(--white);
}

.carousel-arrow.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    border-color: var(--grey);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.carousel-arrow.disabled svg {
    stroke: var(--grey);
}

.button {
    padding: 24px 32px;
    letter-spacing: -1px;
    font-size: 1.4rem;
    font-weight: 400;
    background: var(--blue);
    text-decoration: none;
    display: block;
    color: var(--white);
}

.button.b-blue {
    background: var(--blue);
    color: var(--white);
}

.button.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 110, 245, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(20, 110, 245, 0);
    }
}

.pruduct-list {
    display: flex;
    gap: 0.5rem;
    padding: 0 0px 8px 0px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 325px;
    width: 325px;
    background: var(--white);
    flex-shrink: 0;
}

/* Homepage cards are links; keep their text styled like the original card design. */
a.product-card,
a.product-card:visited {
    color: inherit;
    text-decoration: none;
}

.product-card .p-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    letter-spacing: -1px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.product-card .p-details .category {
    color: var(--grey);
}

.product-card .p-details .b-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.product-card .p-details .b-details .product-name {
    max-width: 55%;
    font-size: 1.2rem;
}

.productlisting.apex {
    padding-top: 64px;
    padding-bottom: 32px;
}

/* pruduct slider listing */

/* sliders */

.sliders {
    display: flex;
    letter-spacing: 0;
    /* padding-top: 64px; */
    padding-top: 0px;
    background: var(--white);
}

.sliders img {
    aspect-ratio: 1;
    object-fit: cover;
    height: 100%;
}

.sliders .slide-sec {
    display: flex;
    gap: 8PX;
}

.sliders .slide-sec .slides {
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sliders .slide-sec .slides img {
    width: 100%;
}

.sliders .text-sec {
    padding: 32px;
}

.sliders .text-sec h2 {
    font-size: 3.725rem;
    font-weight: 400;
    letter-spacing: -3px;
    margin: 0;
    line-height: 1.3;
    color: var(--black);
}

.sliders .text-sec p {
    color: var(--grey);
    line-height: 1.4;
    font-size: 1.3rem;
}

/* sliders */

/* footer */

footer {
    background: var(--black);
    display: flex;
    flex-direction: column;
    letter-spacing: 0px;
    color: var(--white);
    padding: 24px;
    padding-bottom: 0;
    box-sizing: border-box;
    max-width: 100vw;
    overflow: hidden;
}

footer a {
    color: var(--white);
}

footer .footer-logo {
    width: 100%;
}

footer .footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3020 / 428;
    object-fit: contain;
}

footer .le-c {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer .re-c {
    display: flex;
    gap: 16px;
}

/* Whyte's built-in line box is shorter than the painted letters, so a click
   on the visible word misses the anchor. Give the row a box that covers the ink. */
footer .tmark,
footer .re-c a {
    line-height: 1.4;
}

footer .social-links {
    display: flex;
    gap: 16px;
}

footer .link-sec {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 8px;
    box-sizing: border-box;
}

/* footer */

/* animation */

/* Add these styles to your existing style.css */

/* Smooth transitions globally */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Initial page state - hide elements before animation */
body {
    overflow-x: hidden;
}

body:not(.loaded) .cover img {
    transform: scale(1.2);
}

body:not(.loaded) .cover h1 {
    opacity: 0;
    transform: translateY(100px);
}

body:not(.loaded) .cover .darker {
    opacity: 0;
}

body:not(.loaded) nav {
    opacity: 0;
    transform: translateY(-100%);
}

body.checkout:not(.loaded) nav {
    transform: translateY(0%);
    opacity: 1;
}

/* Nav animations */
nav {
    background: transparent;
    transition: background-color 0.4s ease, opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

body.loaded nav {
    opacity: 1;
    transform: translateY(0);
    /* position: unset; */
    box-sizing: border-box;
}

nav.scrolled {
    background: var(--black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero/Cover dramatic entrance */
.cover {
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.cover img {
    transform: scale(1.2);
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.loaded .cover img {
    transform: scale(1);
}

.cover .darker {
    opacity: 0;
    transition: opacity 1.5s ease 0.3s;
}

body.loaded .cover .darker {
    opacity: 1;
}

.cover h1 {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease 0.8s, transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

body.loaded .cover h1 {
    opacity: 1;
    transform: translateY(0);
}

/* Section animations - scroll triggered */
.section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Territory block modern wipe animation */
.territory-block {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.territory-block.animate-in {
    opacity: 1;
}

.territory-block .lsec {
    position: relative;
    overflow: hidden;
}

.territory-block .lsec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--body-background);
    z-index: 3;
    transform: translateX(-100%);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.territory-block.animate-in .l1-t::before {
    transform: translateX(100%);
    transition-delay: 0s;
}

.territory-block.animate-in .l2-t::before {
    transform: translateX(100%);
    transition-delay: 0.3s;
}

.territory-block .product-image {
    transform: scale(1.1);
    transition: transform 0.6s ease;
}

.territory-block.animate-in .product-image {
    transform: scale(1);
}

/* Territory product image hover effects */
.territory-block .lsec {
    cursor: pointer;
}

.territory-block .product-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.territory-block .lsec:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.territory-block h2 {
    opacity: 0;
    transform: translate(-50%, -22vh) scale(0.8);
    transition: opacity 1s ease 0.8s, transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

.territory-block.animate-in h2 {
    opacity: 1;
    transform: translate(-50%, -22vh) scale(1);
}

.territory-block .b-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.territory-block.animate-in .l1-t .b-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.territory-block.animate-in .l2-t .b-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Product listing animations */
.productlisting {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.productlisting.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.productlisting .header {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.productlisting.animate-in .header {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

/* Product cards stagger effect */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.productlisting.animate-in .product-card {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

/* Slider section animation */
.sliders {
    opacity: 0;
    transition: opacity 1s ease;
}

.sliders.animate-in {
    opacity: 1;
}

.sliders .slide-sec {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sliders.animate-in .slide-sec {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.sliders .text-sec {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sliders.animate-in .text-sec {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

/* Button hover effects */
.button {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 110, 245, 0.3);
}

/* Footer reveal effect - fixed at bottom */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    opacity: 1;
    transform: translateY(0);
}

/* Ensure content scrolls over footer */
.cover,
.section,
.territory-block,
.productlisting,
.sliders {
    position: relative;
    z-index: 1;
    background: var(--body-background);
}

.sliders {
    background: var(--white);
}

/* Smooth image loading */
img {
    opacity: 0;
    animation: fadeInImage 0.6s ease forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

/* animation */

/* fixes footer */

footer {
    z-index: -1;
}

.cover-footer {
    background: var(--body-background);
}

/* Reveal spacer tracks the real footer so the page cannot scroll past it.
   That padding belongs to the body box, which is painted in front of the
   fixed footer (z-index: -1) and was taking every click meant for the links.
   The body box itself ignores hits; each real child opts back in. */
body:has(> footer) {
    padding-bottom: var(--footer-reveal);
    pointer-events: none;
}

body:has(> footer) > * {
    pointer-events: auto;
}

/* fixes footer */

/* sliders update functionality */

/* Carousel functionality styles */
.sliders .slide-sec {
    display: flex;
    gap: 8px;
    flex-direction: row;
}

.sliders .main-img {
    position: relative;
    overflow: hidden;
    width: calc(50vw - 200px);
    /* Full width minus thumbnail column width */
    aspect-ratio: 1;
    flex-shrink: 0;
}

.sliders .main-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--body-background);
}

.sliders .main-img img.main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sliders .main-img img.main.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    pointer-events: auto;
}

.sliders .main-img img.main.slide-out-up {
    transform: translateY(-100%);
    opacity: 0;
    z-index: 1;
}

.sliders .main-img img.main.slide-in-down {
    transform: translateY(0);
    opacity: 1;
}

.sliders .main-img img.main.slide-out-down {
    transform: translateY(100%);
    opacity: 0;
    z-index: 1;
}

.sliders .main-img img.main.slide-in-up {
    transform: translateY(0);
    opacity: 1;
}

.sliders .slide-sec .slides {
    width: calc(((50vw - 200px - 24px)/5));
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: auto;
}

.sliders .slide-sec .slides .imgslides {
    border: 2px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    flex: 1;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
}

.sliders .slide-sec .slides .imgslides.active {
    border-color: var(--black);
}

.sliders .slide-sec .slides .imgslides:hover {
    opacity: 0.8;
}

.sliders .slide-sec .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* sliders update functionality */

/* produt listing page */

/* Product Listing Page Styles - Add to style.css */

/* Navigation override for products page only */
.products-page~nav,
body:has(.products-page) nav {
    background: var(--black) !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Products Page Container */
.products-page {
    background: var(--body-background);
    /* min-height: 100vh; */
    margin-top: 48px;
}

/* Main Products Area - No padding, edge to edge */
.products-main {
    display: flex;
    min-height: calc(100vh - 48px);
}

/* Sidebar Filters - Stick to left, no gap */
.products-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: var(--white);
    padding: 24px 16px;
    /* position: fixed;
    left: 0;
    top: 48px; */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    /* border-right: 1px solid #000; */
    z-index: 100;
    margin-left: 1px;
}

.sidebar-header {
    margin-bottom: 32px;
}

.sidebar-header h3 {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: -2px;
}

.close-filters {
    display: none;
}

/* Filter Groups - Minimal spacing */
.filter-group {
    margin-bottom: 24px;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 12px 0;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0.6;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    letter-spacing: 0;
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--black);
    margin: 0;
}

.filter-option span {
    font-size: 0.95rem;
}

/* Color Filter */
.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    position: relative;
    cursor: pointer;
}

.color-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.color-swatch {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.color-option input[type="checkbox"]:checked+.color-swatch {
    box-shadow: 0 0 0 2px var(--black);
}

.color-swatch:hover {
    transform: scale(1.1);
}

/* Clear Filters Button */
.clear-filters {
    width: 100%;
    padding: 8px;
    background: var(--black);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.clear-filters:hover {
    opacity: 0.8;
}

/* Right Content Area */
.products-content {
    flex: 1;
    /* margin-left: 200px; */
    background: var(--body-background);
}

/* Top Bar - Clean and minimal */
.products-topbar {
    background: var(--white);
    /* border-bottom: 1px solid #000; */
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 48px;
    z-index: 99;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.filter-toggle-mobile {
    display: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--grey);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--black);
}

.breadcrumbs .current,
.breadcrumbs h1.current {
    color: var(--black);
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    margin: 0;
    letter-spacing: inherit;
}

a.product-card-listing {
    display: block;
    color: inherit;
    text-decoration: none;
}

.products-count {
    letter-spacing: 0;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--grey);
    white-space: nowrap;
}

/* Search and sort share one control size. The page font's -3px
   tracking would otherwise crush the search placeholder. */
#catalogSearch,
.sort-select {
    box-sizing: border-box;
    height: 38px;
    margin: 0;
    border: 1px solid var(--black);
    border-radius: 0;
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-family);
    font-size: 0.9rem;
    letter-spacing: 0;
    line-height: 1;
}

#catalogSearch {
    width: 260px;
    padding: 0 12px;
    appearance: none;
    -webkit-appearance: none;
}

#catalogSearch::placeholder {
    color: var(--grey);
    opacity: 1;
    letter-spacing: 0;
}

#catalogSearch::-webkit-search-decoration,
#catalogSearch::-webkit-search-cancel-button,
#catalogSearch::-webkit-search-results-button {
    display: none;
    -webkit-appearance: none;
}

.sort-select {
    min-width: 132px;
    padding: 0 32px 0 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2 6 6.2 11 1.2' fill='none' stroke='%23111' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

#catalogSearch:focus,
.sort-select:focus {
    outline: 1px solid var(--black);
    outline-offset: 2px;
}

/* Products Grid - Bold and spacious */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    padding: 2px;
    /* background: #000; */
    /* border: 1px solid #000; */
    max-height: calc(100dvh - 114px);
    overflow-y: auto;
}

/* Product Card Listing - Bold minimal design */
.product-card-listing {
    background: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card-listing:hover {
    background: var(--body-background);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-listing:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Product Badges - Minimal */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    font-family: var(--font-family);
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: var(--black);
    color: var(--white);
}

.product-badge.sale {
    background: var(--blue);
    color: var(--white);
}

.product-badge.sold-out {
    background: var(--grey);
    color: var(--white);
}

/* Wishlist Button - Minimal */
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    opacity: 0;
}

.product-card-listing:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    background: var(--black);
}

.wishlist-btn:hover svg {
    stroke: var(--white);
}

.wishlist-btn.active svg {
    fill: var(--black);
    stroke: var(--black);
}

/* Color Dots - Clean */
.color-dots {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.color-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

.color-dot:hover {
    opacity: 1;
}

/* Product Details - Bold typography */
.product-details-listing {
    padding: 12px;
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.product-details-listing .category {
    color: var(--grey);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-name-listing {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: -2px;
    line-height: 1.1;
}

.product-price-listing {
    font-size: 0.95rem;
    letter-spacing: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.original-price {
    text-decoration: line-through;
    color: var(--grey);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 968px) {
    .products-sidebar {
        position: fixed;
        left: -100%;
        width: 250px;
        z-index: 1000;
        transition: left 0.3s ease;
        border-right: none;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
        height: 100%;
    }

    nav.nav-bl-p{
        background: transparent;
    }

    .products-sidebar.active {
        left: 0;
    }

    .close-filters {
        display: flex;
        position: absolute;
        top: 24px;
        right: 16px;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
    }

    .products-content {
        margin-left: 0;
    }

    .filter-toggle-mobile {
        display: block;
        padding: 8px 16px;
        background: var(--black);
        color: var(--white);
        border: none;
        cursor: pointer;
        font-size: 0.9rem;
        letter-spacing: 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-topbar {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .topbar-left {
        gap: 12px;
    }

    .topbar-right {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
        align-items: center;
        width: 100%;
    }

    #catalogSearch {
        width: 100%;
        min-width: 0;
        grid-column: 1;
        grid-row: 1;
    }

    .sort-select {
        grid-column: 2;
        grid-row: 1;
    }

    .products-count {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .breadcrumbs {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-name-listing {
        font-size: 1.2rem;
    }

    .wishlist-btn {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .products-topbar {
        padding: 8px 12px;
    }

    .products-grid {
        gap: 0;
        border-width: 1px 0;
    }

    .product-details-listing {
        padding: 8px;
    }

    .product-name-listing {
        font-size: 1.1rem;
    }
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* Remove default animations for cleaner look */
.product-card-listing {
    animation: none;
}

/* produt listing page */

/* Sold Out Product Styling */
.product-card-listing.sold-out {
    pointer-events: none;
}

.product-card-listing.sold-out .product-image-wrapper {
    position: relative;
}

.product-overlay-soldout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.product-card-listing.sold-out .product-badge.sold-out {
    background: var(--black);
    color: var(--white);
    z-index: 3;
}

.product-card-listing.sold-out .product-details-listing {
    opacity: 0.5;
}

/* responsive updates */

/* ============================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================ */

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Tablet Styles (481px - 768px) */
@media (max-width: 968px) {
    body {
        max-width: 100vw;
        max-width: 100dvw;
        overflow-x: hidden;
    }

    .products-page {
        margin-top: 56px;
    }

    nav {
        position: fixed;
        top: 0;
        background: var(--black);
    }

    .cover {
        margin-top: 56px;
        height: unset;
    }

    .products-grid {
        max-height: calc(100dvh - 160px);
    }

    /* Navigation */
    .hamburger {
        display: flex;
    }

    nav .links-l {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: start;
        padding-top: 80px;
        align-items: start;
        padding-left: 24px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.5);
    }

    nav .links-l.active {
        right: 0;
    }

    nav .links-l a {
        font-size: 1.2rem;
        padding: 12px 0;
        width: 100%;
    }

    /* Hero Section */
    .cover h1 {
        font-size: 4rem;
        left: 24px;
        bottom: 24px;
    }

    /* Section Headings */
    h2 {
        font-size: 2.5rem;
        line-height: 1.7rem;
    }

    /* Territory Block - Stack Vertically */
    .territory-block {
        flex-direction: column;
        height: auto;
    }

    .territory-block h2 {
        font-size: 6rem;
        transform: translate(-50%, -50%);
        top: 50%;
    }

    .territory-block>.lsec {
        height: 60vh;
        min-height: 400px;
    }

    .b-card {
        max-width: 40%;
    }

    .b-card .p-name {
        font-size: 1.5rem;
    }

    /* Product Listings */
    .productlisting h2 {
        font-size: 2.5rem;
    }

    .carousel-controls {
        display: none;
    }

    .pruduct-list {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pruduct-list::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        scroll-snap-align: start;
        min-width: 280px;
        width: 280px;
    }

    /* Sliders Section - Reorder for Mobile */
    .sliders {
        flex-direction: column;
    }

    .sliders .text-sec {
        order: 1;
        padding: 32px 24px;
    }

    .sliders .text-sec h2 {
        font-size: 2.5rem;
    }

    .sliders .text-sec p {
        font-size: 1.1rem;
    }

    .sliders .slide-sec {
        order: 2;
        flex-direction: column;
        padding: 0 24px 32px 24px;
    }

    .sliders .main-img {
        width: 100%;
        margin-bottom: 12px;
    }

    .sliders .slide-sec .slides {
        width: 100%;
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        gap: 8px;
    }

    .sliders .slide-sec .slides .imgslides {
        min-width: 80px;
        width: 80px;
        flex: 0 0 auto;
    }

    /* Footer */
    footer .link-sec {
        flex-direction: column;
        gap: 24px;
    }

    footer .re-c {
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile Styles (320px - 480px) */
@media (max-width: 480px) {

    /* Navigation */
    nav {
        max-width: 100vw;
        /* position: fixed; */
    }

    nav .logo-img {
        height: 1.2rem;
    }

    nav .cart-n {
        font-size: 0.9rem;
    }

    /* Hero Section */


    .cover h1 {
        font-size: 2.8rem;
        left: 16px;
        bottom: 16px;
    }

    /* Sections */
    .section {
        padding: 0 16px;
    }

    h2 {
        font-size: 1.6rem;
        letter-spacing: -2px;
    }

    /* Territory Block */
    .territory-block h2 {
        font-size: 4rem;
    }

    .territory-block>.lsec {
        height: 50vh;
        min-height: 350px;
    }

    .b-card {
        max-width: 60%;
        gap: 32px;
        padding: 12px;
    }

    .b-card .p-name {
        font-size: 1.2rem;
    }

    .b-card .other {
        font-size: 0.85rem;
    }

    .l2-t .b-card {
        top: 16px;
        left: 16px;
    }

    .l1-t .b-card {
        bottom: 16px;
        right: 16px;
    }

    /* Product Listings */
    .productlisting {
        padding-top: 0;
    }

    .productlisting .header {
        padding: 16px;
    }

    .productlisting h2 {
        font-size: 2rem;
    }

    .product-card {
        min-width: 250px;
        width: 250px;
    }

    .product-card .p-details {
        padding: 12px;
        gap: 12px;
    }

    .product-card .p-details .b-details .product-name {
        font-size: 1rem;
    }

    .product-card .p-details .category {
        font-size: 0.8rem;
    }

    .pruduct-list {
        padding-bottom: 0;
    }

    /* Sliders */
    .sliders .text-sec {
        padding: 24px 16px;
    }

    .sliders .text-sec h2 {
        font-size: 2rem;
    }

    .sliders .text-sec p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .sliders .slide-sec {
        padding: 0 16px 24px 16px;
    }

    .sliders .slide-sec .slides .imgslides {
        min-width: 70px;
        width: 70px;
    }

    /* Footer */
    footer {
        padding: 16px;
    }

    footer .social-links {
        gap: 12px;
    }

    footer .social-links .lin img {
        width: 24px;
        height: 24px;
    }

    footer .tmark {
        font-size: 0.85rem;
    }

    footer .re-c a {
        font-size: 0.9rem;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* responsive updates */

/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */

/* Navigation - Black Links for Light Background Pages */
nav.nav-dark {
    background: var(--body-background) !important;
    transition-duration: 0.7s;
}

nav.nav-dark a {
    color: var(--black) !important;
}

/* nav.nav-dark .logo-img img {
    filter: invert(1);
} */

nav.nav-dark .hamburger span {
    background: var(--black);
}

/* Product Detail Page Container */
.product-detail-page {
    background: var(--body-background);
    padding: 24px 32px;
    min-height: 100vh;
    margin-top: 48px;
}

/* Breadcrumb */
.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    letter-spacing: 0;
}

.breadcrumb-container a {
    text-decoration: none;
    color: var(--grey);
    transition: color 0.2s ease;
}

.breadcrumb-container a:hover {
    color: var(--black);
}

.breadcrumb-container .current {
    color: var(--black);
}

/* Main Product Section */
.product-detail-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    margin-bottom: 96px;
}

/* Product Gallery Section */
.product-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 120px);
}

.main-product-display {
    width: 100%;
    background: var(--white);
    position: relative;
    overflow: hidden;
    max-height: calc(100vh - 240px);
}

.main-display-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    cursor: zoom-in;
    max-height: calc(100vh - 240px);
}

.main-display-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.main-display-item.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.main-display-item[data-type="video"] {
    object-fit: contain;
    background: #000;
}

/* Wishlist Button - Detail Page */
.detail-wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.detail-wishlist-btn:hover {
    background: var(--black);
    transform: scale(1.05);
}

.detail-wishlist-btn:hover svg {
    stroke: var(--white);
}

.detail-wishlist-btn.active svg {
    fill: var(--black);
    stroke: var(--black);
}

.detail-wishlist-btn.active:hover svg {
    fill: var(--white);
    stroke: var(--white);
}

/* Zoom Indicator */
.zoom-indicator {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.85rem;
    letter-spacing: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.main-product-display:hover .zoom-indicator {
    opacity: 1;
}

/* Thumbnail Navigation */
.thumbnail-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thumb-nav-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumb-nav-arrow:hover:not(.disabled) {
    background: var(--black);
}

.thumb-nav-arrow:hover:not(.disabled) svg {
    stroke: var(--white);
}

.thumb-nav-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: var(--grey);
}

.thumb-nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.thumbnails-container {
    flex: 1;
    overflow: hidden;
}

.thumbnails-wrapper {
    display: flex;
    gap: 8px;
    transition: transform 0.4s ease;
}

.thumbnail {
    min-width: 100px;
    width: 100px;
    aspect-ratio: 1;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--black);
}

.thumbnail.video-thumb {
    position: relative;
}

.play-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-icon svg {
    margin-left: 2px;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Product Header */
.product-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.product-badge-detail {
    width: fit-content;
    padding: 4px 16px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-family: var(--font-family);
    font-weight: 600;
}

.product-badge-detail.new {
    background: var(--black);
    color: var(--white);
}

.product-category {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
}

.product-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    letter-spacing: -3px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
    color: #e0e0e0;
}

.star.filled {
    color: #ffc107;
}

.star.half {
    background: linear-gradient(90deg, #ffc107 50%, #e0e0e0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--grey);
    letter-spacing: 0;
}

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -2px;
}

.original-price-detail {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--grey);
    letter-spacing: 0;
}

.discount-badge {
    background: var(--blue);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    letter-spacing: 0;
    font-weight: 600;
}

/* Product Description */
.product-description {
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.product-description p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--grey);
    margin: 0;
    letter-spacing: 0;
}

/* Product Options */
.product-option {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 0;
}

.option-label span:first-child {
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.selected-value {
    font-weight: 600;
    color: var(--black);
}

.size-guide-btn {
    background: transparent;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    color: var(--black);
    font-size: 0.9rem;
    letter-spacing: 0;
    transition: opacity 0.2s ease;
}

.size-guide-btn:hover {
    opacity: 0.7;
}

/* Color Selector */
.color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-option-detail {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.color-option-detail:hover {
    transform: scale(1.1);
}

.color-option-detail.active {
    border-color: var(--black);
}

.color-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.color-option-detail.active .color-check {
    opacity: 1;
}

.color-option-detail.is-light {
    box-shadow: inset 0 0 0 1px #cfcfcf;
}

.color-option-detail.is-light .color-check,
.color-option-detail[style*="background: #FFFFFF"] .color-check,
.color-option-detail[style*="background: #ffffff"] .color-check,
.color-option-detail[style*="background:#FFFFFF"] .color-check,
.color-option-detail[style*="background:#ffffff"] .color-check {
    color: var(--black);
}

.color-dot.is-light {
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

/* Size Selector */
.size-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
}

.size-option {
    padding: 16px;
    background: var(--white);
    border: 2px solid var(--black);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family2);
}

.size-option:hover:not(.sold-out) {
    background: var(--black);
    color: var(--white);
}

.size-option.active {
    background: var(--black);
    color: var(--white);
}

.size-option.sold-out {
    opacity: 0.3;
    cursor: not-allowed;
    position: relative;
}

.size-option.sold-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--black);
    transform: translateY(-50%) rotate(-45deg);
}

.size-stock-note {
    margin: 8px 0 0;
    font-size: 0.9rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 12px;
}

.add-to-bag-btn {
    flex: 1;
    padding: 20px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-family2);
    position: relative;
    overflow: hidden;
}

.add-to-bag-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.add-to-bag-btn:hover::before {
    left: 100%;
}

.add-to-bag-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.add-to-bag-btn:disabled {
    background: var(--grey);
    cursor: not-allowed;
    transform: none;
}

.share-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--black);
}

.share-btn:hover svg {
    stroke: var(--white);
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.feature-item svg {
    width: 32px;
    height: 32px;
    stroke: var(--black);
    stroke-width: 2;
}

.feature-item span {
    font-size: 0.85rem;
    letter-spacing: 0;
}

/* Accordions */
.product-accordions {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
    width: 100%;
    padding: 24px 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    letter-spacing: 0;
    text-align: left;
}

.accordion-header:hover {
    opacity: 0.7;
}

.accordion-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 24px;
}

.accordion-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--grey);
    margin: 0 0 16px 0;
    letter-spacing: 0;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--grey);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    letter-spacing: 0;
}

.accordion-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--black);
}

/* Size Chart Table */
.size-chart-table {
    margin: 24px 0;
    overflow-x: auto;
}

.size-chart-table table {
    width: 100%;
    border-collapse: collapse;
    letter-spacing: 0;
}

.size-chart-table th,
.size-chart-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.size-chart-table th {
    background: var(--black);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.size-chart-table td {
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews-section {
    background: var(--white);
    padding: 48px 32px;
    margin: 0 -32px 64px -32px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--black);
}

.reviews-header h2 {
    font-size: 3rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: -3px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -3px;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stars-large {
    display: flex;
    gap: 4px;
}

.stars-large .star {
    font-size: 1.5rem;
}

.rating-details p {
    font-size: 0.9rem;
    color: var(--grey);
    margin: 0;
    letter-spacing: 0;
}

.write-review-btn {
    padding: 12px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.write-review-btn:hover {
    background: var(--blue);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.review-item {
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50%;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0;
}

.review-date {
    font-size: 0.85rem;
    color: var(--grey);
    letter-spacing: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: -1px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--grey);
    margin: 0 0 16px 0;
    letter-spacing: 0;
}

.review-helpful {
    display: flex;
    gap: 12px;
}

.helpful-btn {
    background: transparent;
    border: 1px solid var(--black);
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.helpful-btn:hover {
    background: var(--black);
    color: var(--white);
}

.helpful-btn:hover svg {
    stroke: var(--white);
}

.load-more-reviews {
    display: block;
    margin: 0 auto;
    padding: 12px 48px;
    background: var(--white);
    border: 2px solid var(--black);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.load-more-reviews:hover {
    background: var(--black);
    color: var(--white);
}

/* Related Products Section */
.related-products-section {
    margin-bottom: 96px;
}

.related-products-section h2 {
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 32px 0;
    letter-spacing: -3px;
    line-height: 1;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Whyte Inktrap's normal line box is about half the font size, so a wrapped
   title paints over the price. Keep the price on the first line and let the
   name wrap in the space beside it. */
.related-products-grid .product-card .p-details .b-details {
    align-items: baseline;
    gap: 12px;
}

.related-products-grid .product-card .p-details .b-details .product-name {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    line-height: 1.15;
}

.related-products-grid .product-card .p-details .b-details .product-price {
    flex: 0 0 auto;
    line-height: 1.15;
    white-space: nowrap;
}

/* Modals */
.zoom-modal,
.size-guide-modal,
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.zoom-modal.active,
.size-guide-modal.active,
.share-modal.active {
    display: flex;
}

/* Zoom Modal */
.zoom-close,
.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.zoom-close:hover,
.modal-close:hover {
    background: var(--white);
    color: var(--black);
}

#zoomedImage {
    max-width: min(90%, calc(100% - 144px));
    max-height: 90%;
    object-fit: contain;
    opacity: 1;
    animation: none;
}

.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 10001;
}

.zoom-nav[hidden] {
    display: none;
}

.zoom-prev {
    left: 24px;
}

.zoom-next {
    right: 24px;
}

.zoom-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.zoom-nav:hover,
.zoom-nav:focus-visible {
    background: var(--white);
    color: var(--black);
    outline: none;
}

@media (max-width: 480px) {
    .zoom-prev {
        left: 8px;
    }

    .zoom-next {
        right: 8px;
    }

    .zoom-nav {
        width: 44px;
        height: 44px;
    }

    #zoomedImage {
        max-width: calc(100% - 112px);
        max-height: 80%;
    }
}

/* Size Guide Modal */
.size-guide-content,
.share-modal-content {
    background: var(--white);
    padding: 48px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.size-guide-content h2,
.share-modal-content h3 {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 32px 0;
    letter-spacing: -3px;
}

.size-guide-image {
    margin-bottom: 32px;
    text-align: center;
}

.size-guide-image img {
    max-width: 100%;
    height: auto;
}

.measurement-tips {
    margin-top: 32px;
    letter-spacing: 0;
}

.measurement-tips h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}

.measurement-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.measurement-tips li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--grey);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.measurement-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--black);
}

/* Share Modal */
.share-modal-content {
    max-width: 500px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.share-option {
    padding: 16px;
    background: var(--white);
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.share-option:hover {
    background: var(--black);
    color: var(--white);
}

.share-option svg {
    width: 24px;
    height: 24px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--black);
    color: var(--white);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    letter-spacing: 0;
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s ease;
    font-family: var(--font-family);
}

.toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-info-section .breadcrumb-container {
    margin-bottom: 0;
}

/* Remove play icon from video thumbnail */
.thumbnail.video-thumb .play-icon {
    display: none;
}

/* Video fade loop effect */
.main-display-item[data-type="video"] {
    position: relative;
}

.main-display-item[data-type="video"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Mobile: Make thumbnails scrollable, hide arrows */
@media (max-width: 968px) {
    .thumb-nav-arrow {
        display: none;
    }

    .thumbnails-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        scroll-behavior: smooth;
    }

    .thumbnails-container::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .thumbnails-wrapper {
        width: max-content;
    }
}

/* Desktop: Free scrolling for thumbnails */
@media (min-width: 969px) {
    .thumb-nav-arrow {
        display: none;
    }

    .thumbnails-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scroll-behavior: smooth;
    }

    .thumbnails-container::-webkit-scrollbar {
        height: 4px;
    }

    .thumbnails-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .thumbnails-container::-webkit-scrollbar-thumb {
        background: var(--black);
    }

    .thumbnails-wrapper {
        width: max-content;
    }
}

/* ============================================
   RESPONSIVE DESIGN - PRODUCT DETAIL PAGE
   ============================================ */

@media (max-width: 968px) {
    .product-detail-page {
        padding: 0;
        margin-top: 0;
        padding-bottom: 5px;
    }

    nav.topnav.font2.nav-dark {
        background: transparent !important;
    }

    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery-section {
        position: relative;
        top: 0;
        max-height: none;
        max-width: 100dvw;
        gap: 0;
    }

    .main-display-item[data-type="video"] {
        object-fit: cover;
    }

    .thumbnail-navigation {
        gap: 0;
    }

    .thumbnails-container .thumbnails-wrapper {
        gap: 0;
    }

    .reviews-section {
        margin: 0;
    }

    .product-info-section {
        padding: 0 16px;
    }

    .related-products-section {
        padding: 0;
        margin-bottom: 0;
    }

    .main-product-display {
        max-height: none;
    }

    .main-display-container {
        max-height: none;
        aspect-ratio: 2/2.8;
    }

    .main-display-item {
        object-fit: cover;
    }

    .detail-wishlist-btn {
        top: auto;
        bottom: 16px;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .reviews-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        display: flex;
        width: 100%;
        overflow: hidden;
        overflow-x: auto;
    }

    .thumbnail {
        min-width: 80px;
        width: 80px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-container {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    .product-title {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .original-price-detail {
        font-size: 1.2rem;
    }

    .size-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-actions {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
    }

    .reviews-header h2 {
        font-size: 2rem;
    }

    .rating-number {
        font-size: 3rem;
    }

    .related-products-section h2 {
        padding: 16px;
        font-size: 2rem;
        margin: 0;
    }

    .related-products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }

    .size-guide-content,
    .share-modal-content {
        padding: 24px;
        max-width: 95%;
    }

    .share-options {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   JOURNAL PAGE STYLES
   Add this to your main style.css file
   ============================================ */

/* Journal Page Container */
.journal-page {
    background: var(--body-background);
    min-height: 100vh;
    margin-top: 48px;
}

/* Hero Header */
.journal-hero {
    background: var(--black);
    padding: 96px 32px 64px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.journal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 110, 245, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.journal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.journal-main-title {
    font-size: 6rem;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 24px 0;
    letter-spacing: -4px;
    line-height: 1;
}

.journal-subtitle {
    font-size: 1.3rem;
    color: var(--grey);
    letter-spacing: 0;
    line-height: 1.6;
}

/* Search Section */
.journal-search-section {
    background: var(--white);
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: sticky;
    top: 48px;
    z-index: 100;
    border-bottom: 1px solid var(--black);
}

.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.journal-search-input {
    width: 100%;
    padding: 8px 60px 8px 8px;
    border: 2px solid var(--black);
    background: transparent;
    font-size: 1.1rem;
    letter-spacing: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.journal-search-input:focus {
    outline: none;
    background: var(--body-background);
}

.journal-search-input::placeholder {
    color: var(--grey);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: var(--black);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--blue);
}

.search-btn svg {
    stroke: var(--white);
}

.results-count {
    font-size: 0.95rem;
    color: var(--grey);
    white-space: nowrap;
}

.results-count span {
    font-weight: 600;
    color: var(--black);
}

/* Featured Post */
.featured-post {
    /* margin: 0 32px 64px 32px; */
    margin: 8px;
    position: relative;
    overflow: hidden;
    background: var(--white);
    height: 70vh;
    min-height: 600px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.featured-post.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.featured-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blogs-listing-container {
    max-width: 1200px;
    margin: auto;
    margin-top: 56px;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

nav .search-container {
    width: 100%;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    z-index: 2;
    color: var(--white);
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.featured-badge {
    background: var(--blue);
    color: var(--white);
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.featured-date {
    font-size: 0.9rem;
    letter-spacing: 0;
    opacity: 0.8;
}

.featured-title {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -3px;
    line-height: 1.1;
    margin: 0 0 16px 0;
    max-width: 900px;
    color: var(--white);
}

.featured-excerpt {
    font-size: 1.2rem;
    letter-spacing: 0;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 32px 0;
    max-width: 700px;
    color: var(--grey);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.read-more svg {
    transition: transform 0.3s ease;
}

.featured-post:hover .read-more svg {
    transform: translateX(8px);
}

/* Journal Grid */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    /* gap: 32px; */
    gap: 8px;
    padding: 0 8px;
    margin-bottom: 64px;
}

/* Journal Cards
   Stay visible without the scroll observer. Cards injected after load
   (the journal feed replaces this grid) never received .visible, so the
   old opacity: 0 left a blank gap under the featured story. */
.journal-card {
    background: var(--white);
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.journal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.journal-card.large {
    grid-column: span 2;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.journal-card.large .card-image {
    aspect-ratio: 21 / 9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.journal-card:hover .card-image img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.journal-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 32px;
}

.journal-card.large .card-content {
    padding: 40px;
}

.card-date {
    display: block;
    font-size: 0.85rem;
    color: var(--grey);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.card-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 0 0 16px 0;
    transition: color 0.3s ease;
}

.journal-card.large .card-title {
    font-size: 2.5rem;
}

.journal-card:hover .card-title {
    color: var(--blue);
}

.card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--grey);
    letter-spacing: 0;
    margin: 0;
}

.journal-card.large .card-excerpt {
    font-size: 1.1rem;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: 0 32px 64px 32px;
}

.load-more-btn {
    padding: 20px 48px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.load-more-btn svg {
    transition: transform 0.3s ease;
}

.load-more-btn:hover svg {
    transform: translateY(4px);
}

/* No Results Message */
.no-results {
    display: none;
    text-align: center;
    padding: 96px 32px;
}

.no-results.active {
    display: block;
}

.no-results svg {
    stroke: var(--grey);
    opacity: 0.5;
    margin-bottom: 24px;
}

.no-results h3 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin: 0 0 12px 0;
}

.no-results p {
    font-size: 1.1rem;
    color: var(--grey);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .journal-main-title {
        font-size: 4rem;
    }

    .journal-subtitle {
        font-size: 1.1rem;
    }

    .journal-search-section {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
    }

    .search-container {
        max-width: 100%;
    }

    .results-count {
        text-align: center;
    }

    .featured-post {
        margin: 0 24px 48px 24px;
        height: 60vh;
        min-height: 500px;
    }

    .featured-content {
        padding: 32px;
    }

    .featured-title {
        font-size: 2.5rem;
    }

    .featured-excerpt {
        font-size: 1rem;
    }

    .journal-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
        padding: 0 24px;
    }

    .journal-card.large {
        grid-column: span 1;
    }

    .card-content {
        padding: 24px;
    }

    .journal-card.large .card-content {
        padding: 24px;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .journal-card.large .card-title {
        font-size: 1.8rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .journal-hero {
        padding: 64px 16px 48px 16px;
    }

    .journal-main-title {
        font-size: 2.8rem;
        letter-spacing: -3px;
    }

    .journal-subtitle {
        font-size: 1rem;
    }

    .journal-search-section {
        padding: 16px;
        top: 56px;
    }

    .journal-search-input {
        padding: 8px 50px 8px 8px;
        font-size: 1rem;
    }

    .search-btn {
        width: 50px;
    }

    .results-count {
        font-size: 0.85rem;
    }

    .featured-post {
        /* margin: 0 16px 32px 16px; */
        margin: 4px 0px;
        height: 50vh;
        min-height: 400px;
    }

    .featured-content {
        padding: 24px 16px;
    }

    .featured-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }

    .featured-title {
        font-size: 2rem;
        letter-spacing: -2px;
    }

    .featured-excerpt {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .read-more {
        font-size: 0.9rem;
    }

    .journal-grid {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 0px;
        margin-bottom: 0px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .card-excerpt {
        font-size: 0.95rem;
    }

    .load-more-section {
        padding: 8px;
    }

    .load-more-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
        font-size: 1rem;
    }

    .no-results {
        padding: 64px 16px;
    }

    .no-results h3 {
        font-size: 1.6rem;
    }

    .no-results p {
        font-size: 1rem;
    }
}

/* Search Active State */
.journal-page.searching .journal-card,
.journal-page.searching .featured-post {
    display: none;
}

.journal-page.searching .journal-card.match,
.journal-page.searching .featured-post.match {
    display: block;
}

/* Loading State */
.load-more-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.load-more-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* journal detail */

/* ============================================
   BLOG ARTICLE PAGE STYLES
   Add this section to your main style.css file
   ============================================ */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--blue);
    width: 0%;
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Blog Article Page Container */
.blog-article-page {
    /* background: var(--body-background); */
    background: var(--white);
    min-height: 100vh;
    /* padding-top: 48px; */
}

/* Article Header */
.article-header {
    background: var(--white);
    padding: 64px 32px 96px 32px;
    border-bottom: 2px solid var(--black);
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.back-to-journal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--grey);
    font-size: 0.9rem;
    letter-spacing: 0;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.back-to-journal:hover {
    color: var(--black);
    transform: translateX(-4px);
}

.back-to-journal svg {
    transition: transform 0.3s ease;
}

.back-to-journal:hover svg {
    transform: translateX(-4px);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article-meta span {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--grey);
}

.article-category {
    color: var(--black) !important;
    font-weight: 600;
    text-transform: uppercase;
}

.article-date,
.article-reading-time {
    position: relative;
    padding-left: 16px;
}

.article-date::before,
.article-reading-time::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--grey);
}

.article-title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -4px;
    line-height: 1;
    margin: 0 0 32px 0;
    color: var(--black);
}

.article-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--grey);
    margin: 0;
    letter-spacing: 0;
}

/* Fixed Share Buttons */
.share-buttons-fixed {
    position: fixed;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-buttons-fixed.visible {
    opacity: 1;
}

.share-btn-fixed {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn-fixed:hover {
    background: var(--black);
    transform: scale(1.1);
}

.share-btn-fixed svg {
    width: 20px;
    height: 20px;
    fill: var(--black);
    transition: fill 0.3s ease;
}

.share-btn-fixed:hover svg {
    fill: var(--white);
}

.share-btn-fixed[data-platform="copy"] svg {
    fill: none;
    stroke: var(--black);
    stroke-width: 2;
}

.share-btn-fixed[data-platform="copy"]:hover svg {
    stroke: var(--white);
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 96px 32px;
    background: var(--white);
}

/* Hero Image */
.article-hero-image {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    background: var(--black);
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Article Images */
.article-image {
    margin: 64px 0;
    width: 100%;
}

.article-image.wide {
    margin-left: -32px;
    margin-right: -32px;
    width: calc(100% + 64px);
    max-width: 1000px;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-image figcaption {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--grey);
    text-align: center;
    font-style: italic;
    letter-spacing: 0;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--black);
    margin: 0 0 32px 0;
    letter-spacing: 0;
}

/* Drop Cap */
.drop-cap::first-letter {
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    float: left;
    margin: 0 16px 0 0;
    font-family: var(--font-family2);
    letter-spacing: -3px;
    color: var(--black);
}

/* Headings */
.article-content h2 {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -3px;
    line-height: 1.1;
    margin: 96px 0 40px 0;
    color: var(--black);
    font-family: var(--font-family2);
}

.article-content h2:first-of-type {
    margin-top: 64px;
}

.article-content h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 64px 0 24px 0;
    color: var(--black);
    font-family: var(--font-family2);
}

/* Pull Quotes */
.pull-quote {
    margin: 64px 0;
    padding: 48px 0;
    border-top: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
    text-align: center;
}

.pull-quote p {
    font-size: 2.5rem;
    line-height: 1.3;
    letter-spacing: -2px;
    font-weight: 400;
    margin: 0;
    color: var(--black);
    font-family: var(--font-family2);
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 32px 0;
    padding-left: 32px;
}

.article-content li {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--black);
}

.article-content ul li {
    list-style: none;
    position: relative;
    padding-left: 24px;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--black);
}

.article-content ol {
    counter-reset: custom-counter;
    list-style: none;
}

.article-content ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 40px;
}

.article-content ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--black);
}

.article-content strong {
    font-weight: 600;
    color: var(--black);
}

/* Article Navigation */
nav.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--black);
    position: unset;
    box-sizing: border-box;
}

.nav-article {
    background: var(--white);
    padding: 64px 48px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.nav-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    transition: left 0.5s ease;
}

.nav-article:hover::before {
    left: 100%;
}

.nav-article:hover {
    background: var(--body-background);
}

.nav-article-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--grey);
    margin-bottom: 16px;
}

.nav-article-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.2;
    color: var(--black);
    font-family: var(--font-family2);
    transition: color 0.3s ease;
}

.nav-article:hover .nav-article-title {
    color: var(--blue);
}

.nav-article.prev .nav-article-label::before {
    content: '← ';
    margin-right: 4px;
}

.nav-article.next {
    text-align: right;
}

.nav-article.next .nav-article-label::after {
    content: ' →';
    margin-left: 4px;
}

/* Back to Journal Footer */
.back-to-journal-footer {
    text-align: center;
    padding: 64px 32px;
    background: var(--white);
}

.btn-back-journal {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-back-journal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.btn-back-journal:hover::before {
    left: 100%;
}

.btn-back-journal:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-back-journal svg {
    transition: transform 0.3s ease;
}

.btn-back-journal:hover svg {
    transform: translateX(-4px);
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .article-header {
        padding: 48px 24px 64px 24px;
    }

    .article-title {
        font-size: 3.5rem;
        letter-spacing: -3px;
    }

    .article-subtitle {
        font-size: 1.2rem;
    }

    .article-content {
        padding: 64px 24px;
    }

    .article-hero-image {
        max-height: 50vh;
    }

    .article-image.wide {
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
    }

    .article-content h2 {
        font-size: 2.5rem;
        margin: 64px 0 32px 0;
    }

    .pull-quote p {
        font-size: 2rem;
    }

    .share-buttons-fixed {
        display: none;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .nav-article.next {
        text-align: left;
    }

    .nav-article {
        padding: 32px 24px;
    }

    .nav-article-title {
        font-size: 1.5rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    nav.article-navigation {
        grid-template-columns: unset;
        margin: 0;
        padding: 2px 0;
    }

    .article-header {
        padding: 32px 16px 48px 16px;
    }

    .back-to-journal {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    .article-meta {
        gap: 16px;
        margin-bottom: 24px;
    }

    .article-meta span {
        font-size: 0.8rem;
    }

    .article-title {
        font-size: 2.5rem;
        letter-spacing: -2px;
        margin-bottom: 24px;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .article-content {
        padding: 48px 16px;
    }

    .article-hero-image {
        max-height: 40vh;
    }

    .article-image {
        margin: 48px 0;
    }

    .article-image.wide {
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }

    .article-image figcaption {
        margin-top: 12px;
        font-size: 0.85rem;
        padding: 0 16px;
    }

    .article-content p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .drop-cap::first-letter {
        font-size: 3.5rem;
        margin: 0 12px 0 0;
    }

    .article-content h2 {
        font-size: 2rem;
        letter-spacing: -2px;
        margin: 48px 0 24px 0;
    }

    .article-content h3 {
        font-size: 1.5rem;
        margin: 40px 0 16px 0;
    }

    .pull-quote {
        margin: 48px 0;
        padding: 32px 0;
    }

    .pull-quote p {
        font-size: 1.5rem;
        letter-spacing: -1px;
    }

    .article-content ul,
    .article-content ol {
        margin: 24px 0;
        padding-left: 24px;
    }

    .article-content li {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .article-content ul li {
        padding-left: 20px;
    }

    .article-content ul li::before {
        width: 6px;
        height: 6px;
        top: 10px;
    }

    .article-content ol li {
        padding-left: 32px;
    }

    .article-content ol li::before {
        font-size: 1rem;
    }

    .article-navigation {
        margin-top: 64px;
    }

    .nav-article {
        padding: 24px 16px;
    }

    .nav-article-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .nav-article-title {
        font-size: 1.2rem;
        letter-spacing: -1px;
    }

    .back-to-journal-footer {
        padding: 48px 16px;
    }

    .btn-back-journal {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .share-buttons-fixed {
        display: none;
    }
}

/* Print Styles */
@media print {

    .reading-progress-bar,
    .share-buttons-fixed,
    nav,
    footer,
    .article-navigation,
    .back-to-journal-footer,
    .back-to-journal {
        display: none;
    }

    .blog-article-page {
        margin: 0;
        padding: 0;
    }

    .article-header,
    .article-content {
        max-width: 100%;
        padding: 20px;
    }

    .article-title {
        font-size: 2.5rem;
        page-break-after: avoid;
    }

    .article-content h2 {
        page-break-after: avoid;
        margin-top: 40px;
    }

    .article-content p,
    .article-content li {
        font-size: 11pt;
        line-height: 1.6;
    }

    .pull-quote {
        page-break-inside: avoid;
        border-color: #000;
    }
}

/* Smooth Scroll Behavior */
html.smooth-scroll {
    scroll-behavior: smooth;
}

/* Selection Styling */
.article-content ::selection {
    background: var(--blue);
    color: var(--white);
}

.article-content ::-moz-selection {
    background: var(--blue);
    color: var(--white);
}

/* journal detail */

/* bag page */

/* ============================================
   CART / BAG PAGE STYLES
   Add this section to your main style.css file
   ============================================ */

/* Cart Page Container */
.cart-page {
    background: var(--body-background);
    min-height: 100vh;
    padding: 96px 0 20px 0;
}

.cart-page.cart-pending .cart-item-count,
.cart-page.cart-pending .cart-content-grid,
.cart-page.cart-pending .empty-cart,
.cart-page.cart-pending .recommended-section,
.cart-page.cart-pending .mobile-checkout-bar {
    display: none;
}

/* Cart Container */
.cart-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--black);
}

.cart-header h1 {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -4px;
    line-height: 1;
    margin: 0;
}

.cart-item-count {
    font-size: 1.2rem;
    color: var(--grey);
    letter-spacing: 0;
}

.cart-item-count span {
    font-weight: 600;
    color: var(--black);
}

/* Cart Content Grid */
.cart-content-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 64px;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Free Shipping Progress Bar */
.shipping-progress-bar {
    background: var(--white);
    padding: 24px;
    margin-bottom: 8px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    letter-spacing: 0;
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--blue);
    transition: width 0.4s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Cart Item */
.cart-item {
    background: var(--white);
    padding: 32px;
    display: flex;
    gap: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.cart-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.cart-item:hover::after {
    transform: scaleY(1);
}

.item-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    background: var(--body-background);
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cart-item:hover .item-image img {
    transform: scale(1.05);
}

/* Item Details */
.item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin: 0 0 12px 0;
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--grey);
    letter-spacing: 0;
}

.item-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--grey);
    letter-spacing: 0;
    margin-top: 8px;
}

.item-delivery svg {
    flex-shrink: 0;
}

/* Item Actions */
.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--black);
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family2);
}

.qty-btn:hover:not(:disabled) {
    background: var(--black);
    color: var(--white);
}

.qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cart-stock-note {
    margin: 6px 0 0;
    color: #a33b35;
    font-size: 0.85rem;
}

.cart-stock-note[hidden] {
    display: none;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 2px solid var(--black);
    border-right: 2px solid var(--black);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    font-family: var(--font-family2);
    letter-spacing: -1px;
}

.qty-input:focus {
    outline: none;
}

/* Item Price */
.item-price {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -1px;
}

/* Remove Button */
.remove-item-btn {
    background: transparent;
    border: none;
    color: var(--grey);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    letter-spacing: 0;
    transition: all 0.2s ease;
    padding: 8px 12px;
}

.remove-item-btn:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

.remove-item-btn svg {
    transition: transform 0.2s ease;
}

.remove-item-btn:hover svg {
    transform: scale(1.1);
}

/* Cart Summary Section */
.cart-summary-section {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Summary Card */
.summary-card {
    background: var(--white);
    padding: 32px;
}

.summary-card h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin: 0 0 32px 0;
}

/* Summary Items */
.summary-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    /* border-bottom: 1px solid #e0e0e0; */
    letter-spacing: 0px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    letter-spacing: 0;
}

.summary-row span:first-child {
    color: var(--grey);
}

.summary-row span:last-child {
    font-weight: 600;
}

.shipping-cost.free {
    color: var(--blue);
}

.discount-row {
    color: var(--blue);
}

.discount-amount {
    color: var(--blue) !important;
}

/* Promo Code Section */
.promo-code-section {
    margin-bottom: 24px;
}

.promo-input-container {
    display: flex;
    gap: 0;
    border: 2px solid var(--black);
}

.promo-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0;
    background: transparent;
}

.promo-input:focus {
    outline: none;
}

.promo-input::placeholder {
    color: var(--grey);
}

.apply-promo-btn {
    padding: 12px 24px;
    background: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.apply-promo-btn:hover {
    background: var(--blue);
}

/* Promo Applied */
.promo-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(20, 110, 245, 0.1);
    border: 2px solid var(--blue);
}

.promo-code-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.remove-promo-btn {
    background: transparent;
    border: none;
    color: var(--grey);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.remove-promo-btn:hover {
    color: var(--black);
}

/* Promo Error */
.promo-error {
    color: #ff0000;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Summary Total */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    margin-bottom: 32px;
}

.summary-total span:first-child {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -2px;
    font-family: var(--font-family2);
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    padding: 20px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-family2);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.checkout-btn:hover::before {
    left: 100%;
}

.checkout-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.checkout-btn svg {
    transition: transform 0.3s ease;
}

.checkout-btn:hover svg {
    transform: translateX(4px);
}

/* Guest Checkout Note */
.guest-checkout-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--grey);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0;
}

/* Security Badges */
.security-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--grey);
    letter-spacing: 0;
}

.security-item svg {
    flex-shrink: 0;
}

/* Shipping Calculator */
.shipping-calculator {
    background: var(--white);
    padding: 24px;
}

.shipping-calculator h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    letter-spacing: 0;
}

.shipping-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--black);
    background: transparent;
    font-size: 0.95rem;
    letter-spacing: 0;
    cursor: pointer;
    font-family: var(--font-family);
}

.shipping-select:focus {
    outline: none;
    background: var(--body-background);
}

.summary-card .shipping-methods {
    margin: 4px 0 16px;
}

.shipping-methods {
    display: grid;
    gap: 8px;
}

.shipping-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--black);
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.shipping-option input {
    margin-top: 3px;
    accent-color: currentColor;
}

.shipping-option:has(input:checked) {
    background: var(--black);
    color: var(--white);
}

.delivery-options {
    margin: 0 0 2rem;
}

.delivery-options h3 {
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0 0 1rem;
}

/* Empty Cart State */
.empty-cart {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    padding: 96px 32px;
}

.empty-cart-content {
    text-align: center;
    width: 100%;
    max-width: 500px;
    min-width: 0;
    box-sizing: border-box;
}

.empty-icon {
    margin-bottom: 32px;
    opacity: 0.3;
}

.empty-icon svg {
    stroke: var(--grey);
}

.empty-cart h2 {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -3px;
    margin: 0 0 16px 0;
}

.empty-cart p {
    font-size: 1.2rem;
    color: var(--grey);
    margin: 0 0 40px 0;
    letter-spacing: 0;
}

.continue-shopping-btn {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 20px 48px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: -1px;
    transition: all 0.3s ease;
    font-family: var(--font-family2);
    position: relative;
    overflow: hidden;
}

.continue-shopping-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.continue-shopping-btn:hover::before {
    left: 100%;
}

.continue-shopping-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Recommended Products Section */
.recommended-section {
    max-width: 1400px;
    margin: 96px auto 0 auto;
    padding: 0 32px;
    background: transparent;
}

.recommended-section h2 {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -3px;
    margin: 0 0 32px 0;
    color: var(--black);
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.recommended-grid .product-card {
    display: flex;
    flex-direction: column;
    min-width: auto;
    width: 100%;
    background: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 1;
    opacity: 1;
    transform: none;
}

.recommended-grid .product-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.recommended-grid .product-card .p-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.recommended-grid .product-card .p-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    letter-spacing: -1px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.recommended-grid .product-card .p-details .category {
    color: var(--grey);
    font-size: 0.85rem;
}

.recommended-grid .product-card .p-details .b-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.recommended-grid .product-card .p-details .b-details .product-name {
    max-width: 55%;
    font-size: 1.2rem;
}

.recommended-grid .product-card .p-details .b-details .product-price {
    font-size: 1rem;
    font-weight: 600;
}

/* Mobile Sticky Checkout Bar */
.mobile-checkout-bar {
    display: none;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 2px solid var(--black);
}

.mobile-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mobile-total span:first-child {
    font-size: 0.9rem;
    color: var(--grey);
}

.mobile-total-amount {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.mobile-checkout-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-family2);
}

.mobile-checkout-btn:hover {
    background: var(--blue);
}

/* Animation for item removal */
.cart-item.removing {
    animation: slideOut 0.4s ease forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* ============================================
   RESPONSIVE DESIGN - CART PAGE
   ============================================ */

/* Tablet */
@media (max-width: 968px) {
    .cart-page {
        padding: 80px 0 20px 0;
    }

    .cart-container {
        padding: 0 24px;
    }

    .cart-header h1 {
        font-size: 3.5rem;
    }

    .cart-content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cart-summary-section {
        position: relative;
        top: 0;
    }

    .cart-item {
        padding: 24px;
        gap: 24px;
    }

    .item-image {
        width: 140px;
        height: 140px;
    }

    .item-details {
        flex-direction: column;
        gap: 16px;
    }

    .item-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        row-gap: 12px;
    }

    .remove-item-btn {
        margin-left: auto;
    }

    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .mobile-checkout-bar {
        display: block;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .cart-page {
        padding: 64px 0 0px 0;
    }

    .cart-container {
        padding: 0 16px;
    }

    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 32px;
    }

    .cart-header h1 {
        font-size: 2.5rem;
        letter-spacing: -3px;
    }

    .cart-item-count {
        font-size: 1rem;
    }

    .shipping-progress-bar {
        padding: 16px;
    }

    .progress-info {
        font-size: 0.85rem;
    }

    .cart-item {
        padding: 16px;
        gap: 16px;
        flex-direction: column;
    }

    .item-image {
        width: 100%;
        height: 200px;
    }

    .item-details {
        gap: 20px;
    }

    .item-name {
        font-size: 1.6rem;
    }

    .item-meta {
        font-size: 0.85rem;
    }

    .item-delivery {
        font-size: 0.8rem;
    }

    .item-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .quantity-selector {
        align-self: flex-start;
    }

    .item-price {
        font-size: 1.5rem;
        text-align: right;
        align-self: flex-end;
    }

    .remove-item-btn {
        align-self: flex-start;
    }

    .summary-card {
        padding: 24px 16px;
    }

    .summary-card h2 {
        font-size: 1.6rem;
    }

    .summary-items {
        gap: 12px;
    }

    .summary-row {
        font-size: 0.9rem;
    }

    .total-amount {
        font-size: 2rem;
    }

    .checkout-btn {
        padding: 16px 24px;
        font-size: 1.1rem;
    }

    .security-badges {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .shipping-calculator {
        padding: 16px;
    }

    .empty-cart {
        padding: 64px 16px;
    }

    .empty-icon svg {
        width: 80px;
        height: 80px;
    }

    .empty-cart h2 {
        font-size: 2.5rem;
    }

    .empty-cart p {
        font-size: 1rem;
    }

    .continue-shopping-btn {
        display: block;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 16px 32px;
    }

    .recommended-section {
        margin-top: 64px;
        padding: 0 16px;
        padding-bottom: 30px;
    }

    .recommended-section h2 {
        font-size: 2.5rem;
    }

    .item-image img {
        object-fit: contain;
    }

    .summary-total,
    .checkout-btn {
        display: none;
    }

    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .mobile-checkout-bar {
        padding: 12px 16px;
    }

    .mobile-total-amount {
        font-size: 1.5rem;
    }

    .mobile-checkout-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* ============================================
   CART / BAG PAGE - MOBILE CHECKOUT BAR UPDATES
   Add these updates to your existing cart styles in style.css
   ============================================ */

/* Mobile Sticky Checkout Bar */
.mobile-checkout-bar {
    display: none;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 2px solid var(--black);
    transition: opacity 0.3s ease;
}

.mobile-checkout-bar.hidden {
    display: none;
}

.mobile-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mobile-total span:first-child {
    font-size: 0.9rem;
    color: var(--grey);
}

.mobile-total-amount {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.mobile-checkout-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-family2);
}

.mobile-checkout-btn:hover {
    background: var(--blue);
}

.summary-card h2 {
    line-height: normal;
}

/* Show mobile checkout bar on tablet and mobile */
@media (max-width: 968px) {
    .mobile-checkout-bar {
        display: block;
    }
}

/* Mobile specific adjustments */
@media (max-width: 480px) {
    .mobile-checkout-bar {
        padding: 12px 16px;
    }

    .mobile-total-amount {
        font-size: 1.5rem;
    }

    .mobile-checkout-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* bag page */


/* checkout */

/* Customer account */
.account-page {
    max-width: 1180px;
    min-height: 68vh;
    margin: 0 auto;
    padding: 72px 32px 100px;
    box-sizing: border-box;
    color: var(--black);
    letter-spacing: 0;
}

.account-heading { margin: 0 0 38px; }
.account-kicker {
    margin: 0 0 12px;
    font: 700 11px/1.3 var(--font-family);
    letter-spacing: .13em;
}
.account-heading h1, .account-profile-heading h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
}
.account-heading > p:last-child, .account-profile-heading > div > p:last-child {
    margin: 16px 0 0;
    font: 15px/1.6 var(--font-family);
    letter-spacing: 0;
}
.account-panel {
    box-sizing: border-box;
    padding: 30px;
    background: #f5f5f3;
    border: 1px solid #c8c8c5;
}
.account-auth { max-width: 620px; }
.account-panel-heading { padding-bottom: 20px; border-bottom: 1px solid #c8c8c5; }
.account-panel-heading h2, .account-panel h2 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.035em;
}
.account-panel-heading > p { margin: 0; font: 14px/1.5 var(--font-family); }
.account-switch { display: flex; margin: 20px 0 24px; border-bottom: 1px solid #bcbcb9; }
.account-switch button {
    padding: 12px 18px;
    border: 0;
    border-bottom: 2px solid #000;
    margin-bottom: -1px;
    background: transparent;
    color: #777;
    font: 700 12px var(--font-family);
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}
.account-switch button.secondary { border-bottom-color: transparent; }
.account-switch button:hover, .account-switch button.secondary:hover { color: #000; }
.account-form { display: grid; gap: 18px; }
.account-form label { display: grid; gap: 8px; font: 700 11px var(--font-family); letter-spacing: .1em; }
.account-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 12px;
    border: 1px solid #bcbcb9;
    border-radius: 0;
    background: #fff;
    color: #000;
    font: 15px var(--font-family);
    letter-spacing: 0;
}
.account-form input:focus { outline: 1px solid #000; outline-offset: 1px; }
.account-action {
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid #000;
    border-radius: 0;
    background: #000;
    color: #fff;
    font: 700 12px var(--font-family);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.account-action:hover { background: #333; }
.account-action:disabled { opacity: .55; cursor: wait; }
.account-edit-toggle { margin-top: 10px; }
.account-edit-form { margin-top: 18px; }
.account-readonly-email { margin: 0; color: #555; font: 13px/1.5 var(--font-family); }
.account-text-button { justify-self: start; padding: 8px 0; border: 0; background: transparent; color: #222; font: 700 11px var(--font-family); letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; cursor: pointer; }
.account-message { min-height: 20px; margin: 0; color: #9c2929; font: 13px/1.5 var(--font-family); }
.account-profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.account-logout { flex: 0 0 auto; }
.account-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-profile-grid .account-panel h2 { margin-top: 8px; }
.account-profile-grid .account-panel p { font: 14px/1.6 var(--font-family); letter-spacing: 0; }
.account-orders { grid-column: 1 / -1; }
.account-card { padding: 16px 0; border-top: 1px solid #c8c8c5; }
.account-card:first-child { margin-top: 12px; }
.account-card strong { font: 700 14px var(--font-family); }
.account-card p { margin: 7px 0 0; }
.account-empty { margin: 14px 0 0; color: #666; }
.account-form [hidden], .account-page [hidden] { display: none !important; }

@media (max-width: 640px) {
    .account-page { padding: 46px 18px 70px; }
    .account-heading { margin-bottom: 26px; }
    .account-panel { padding: 22px 18px; }
    .account-profile-heading { align-items: start; flex-direction: column; }
    .account-profile-grid { grid-template-columns: 1fr; }
    .account-orders { grid-column: auto; }
}

/* ==========================================
   CHECKOUT STYLES - Add to main style.css
   ========================================== */

/* Progress Indicator */
.checkout-progress {
    background: #fff;
    /* border-bottom: 2px solid #000; */
    padding: 1rem 0;
    margin-bottom: 0;
    margin-top: 48px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border: 3px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    background: #fff;
    color: #999;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    border-color: #000;
    background: #000;
    color: #fff;
}

.progress-step.completed .step-number {
    border-color: #000;
    background: #000;
    color: #fff;
}

.step-label {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #999;
}

.progress-step.active .step-label {
    color: #000;
}

.progress-line {
    width: 100px;
    height: 3px;
    background: #ddd;
    margin: 0 1rem;
}

.progress-step.completed~.progress-line {
    background: #000;
}

/* Checkout Container */
.checkout-container {
    padding: 0;
    min-height: 60vh;
    background: var(--body-background);
    /* margin-bottom: 285px; */
}

.review-address {
    letter-spacing: 0px;
}

.review-address>* {
    margin: 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    align-items: start;
    height: calc(100dvh - 150px);
    /* overflow-y: auto; */
    box-sizing: border-box;
}

body.checkout {
    overflow: hidden;
}

.checkout-main {
    /* max-width: 700px; */
    width: 100%;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 100%;
}

.auth-form,
.shipping-form {
    max-width: 700px;
    margin: 40px auto;
}

.checkout-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: none;
}

/* Checkout Steps */
.checkout-step {
    display: none;
    letter-spacing: 1px;
}

.checkout-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Authentication Options */
.auth-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-option-btn {
    background: #fff;
    /* border: 3px solid #000; */
    padding: 0 2rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-option-btn:hover {
    background: #000;
    color: #fff;
    transform: translateX(5px);
}

.auth-option-btn h3 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.auth-option-btn p {
    font-size: 0.95rem;
    opacity: 0.7;
}

.auth-option-btn:hover h3,
.auth-option-btn:hover p {
    color: #fff;
}

/* Auth Forms */
.auth-form-container {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-form-container.active {
    display: block;
}

.form-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
    /* flex-direction: column; */
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
}

.back-btn {
    background: none;
    border: none;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.back-btn:hover {
    background: #000;
    color: #fff;
}

/* Forms */
.auth-form,
.shipping-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid #000;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.hint {
    font-size: 0.8rem;
    letter-spacing: 0px;
    color: #666;
    font-style: italic;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-link {
    padding: 1rem 2rem;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: 3px solid #000;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 3px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    border: none;
    text-decoration: underline;
    padding: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    flex: 1;
}

/* Saved Addresses */
.saved-addresses {
    margin-bottom: 3rem;
}

.saved-addresses h3 {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.address-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0px;
}

.address-details>* {
    margin: 0;
}

.address-card {
    border: 3px solid #ddd;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: start;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: #000;
}

.address-card.selected {
    border-color: #000;
    background: #f9f9f9;
}

.address-radio input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.address-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.address-details p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-edit-address {
    background: #fff;
    border: 2px solid #000;
    padding: 0.5rem 1rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-edit-address:hover {
    background: #000;
    color: #fff;
}

/* Review Section */
.review-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.review-section:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h3 {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.review-address {
    padding: 1.5rem;
    background: #f9f9f9;
    border-left: 4px solid #000;
}

.review-address p {
    line-height: 1.8;
}

.delivery-estimate {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem;
    background: #f0f9ff;
    border-left: 4px solid #0066cc;
}

/* Terms Section */
.terms-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fffbf0;
    border: 2px solid #000;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
    line-height: 1.6;
}

.checkbox-label a {
    color: #000;
    text-decoration: underline;
    font-weight: 700;
}

/* Order Summary Sidebar */
.checkout-sidebar {
    position: sticky;
    top: 2rem;
    height: 100%;
    box-sizing: border-box;
}

.order-summary {
    background: #f9f9f9;
    /* border: 3px solid #000; */
    padding: 0.5rem 2rem;
    height: calc(100% - 16px);
    overflow-y: auto;
}

.order-summary h2 {
    line-height: normal;
}

.order-summary h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* margin-bottom: 2rem; */
    padding: 0;
}

.summary-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
}

.summary-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #000;
}

.summary-item-details h4 {
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.25rem;
}

.summary-item-details p {
    font-size: 0.9rem;
    color: #666;
}

.summary-item-price {
    font-weight: 900;
    margin-top: 0.5rem;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 2px solid #000;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.5rem;
    font-weight: 900;
    padding-top: 1rem;
    border-top: 2px solid #000;
}

.free-shipping-bar {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 2px solid #000;
    text-align: center;
    font-family: var(--font-family);
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.free-shipping-bar[hidden] {
    display: none;
}

.order-summary.is-empty .summary-totals {
    display: none;
}

.order-summary.is-empty .summary-items p {
    margin: 0;
    line-height: 1.5;
}

.shipping-progress {
    margin-top: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border: 1px solid #000;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000;
    transition: width 0.3s ease;
}

/* Guest Warning Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    letter-spacing: 0px;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    max-width: 500px;
    border: 4px solid #000;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}



@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.warning-list {
    text-align: left;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.warning-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        padding: 0 1rem;
    }

    .progress-line {
        width: 50px;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .order-summary h2,
    .summary-items,
    .summary-totals .summary-row {
        display: none;
    }

    .summary-totals {
        padding: 0;
        border: none;
    }

    .order-summary {
        height: unset;
        padding: 1rem;
    }

    .checkout-sidebar {
        height: unset;
    }

    .checkout-main {
        height: calc(100vh - 220px);
    }

    .summary-row.total {
        display: block;
        border: none;
        padding: 0;
    }

    .order-summary.is-empty .summary-items {
        display: flex;
    }

    .form-header {
        flex-direction: column;
    }
}

@media (min-width: 470px) {
    body nav.nav-bl-p:not(.scrolled) a {
        color: var(--black);
    }
}

body nav.nav-bl-p:not(.scrolled) .logo-img .wh-logo {
    display: none;
}
body nav.nav-bl-p.scrolled .logo-img .wh-logo {
    display: block;
}
body nav.nav-bl-p.scrolled .logo-img .bl-logo {
    display: none;
}
body nav.nav-bl-p:not(.scrolled) .logo-img .bl-logo {
    display: block;
}

@media (max-width: 640px) {
    .checkout-title {
        font-size: 2rem;
    }

    .auth-option-btn {
        padding: 1.5rem;
    }

    .auth-option-btn h3 {
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* checkout */

/* about */

/* ============================================
   ABOUT PAGE STYLES - WHITE MAMAL
   Add these to your main style.css file
   ============================================ */

/* About Hero Cover */
.about-cover {
    margin-top: 48px;
}

.about-cover h1 {
    max-width: 90%;
}

/* About Text Styling */
.about-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--grey);
    margin-bottom: 2rem;
    max-width: 1000px;
}

.about-intro {
    padding: 64px 32px;
}

.about-intro p strong {
    color: var(--black);
    font-weight: 600;
}

/* Mission Stats Territory Block */
.about-stats {
    height: 60vh;
    min-height: 400px;
}

.stat-block {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.stat-number {
    font-size: 8rem;
    font-weight: 400;
    letter-spacing: -6px;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-family: var(--font-family);
    font-weight: 600;
}

/* Philosophy Territory Blocks */
.about-philosophy .b-card {
    max-width: 35%;
    letter-spacing: 0px;
}

.about-philosophy .b-card p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-top: 1rem;
}
.craft-listing.animate-in .product-card img{
    aspect-ratio: 1;
    object-fit: cover;
}

.about-philosophy .product-image {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.about-philosophy .lsec:hover .product-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* About Journey Slider */
.about-journey {
    margin-bottom: 64px;
}

.about-journey .text-sec p {
    margin-bottom: 1.5rem;
}

.about-journey .text-sec p:last-child {
    margin-bottom: 0;
}

/* Craft Product Listing */
.craft-listing {
    padding-bottom: 64px;
}

.craft-listing .product-card {
    min-width: 350px;
    width: 350px;
}

.craft-listing .product-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--grey);
    margin-top: 1rem;
}

.craft-listing .product-card .product-name {
    font-size: 1.5rem;
}

/* Values Territory Block */
.about-values {
    height: 50vh;
    min-height: 350px;
}

.value-content {
    padding: 48px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.value-content h3 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.value-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* About CTA Section */
.about-cta {
    padding: 96px 32px;
    text-align: center;
}

.about-cta h2 {
    margin-bottom: 2rem;
}

.about-cta .about-text {
    margin: 0 auto 3rem auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .button {
    min-width: 250px;
    box-sizing: border-box;
}

/* Animations for About Page */
.about-stats .stat-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-stats .stat-block.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-philosophy.animate-in .lsec {
    animation: fadeInScale 0.8s ease forwards;
}

.craft-listing.animate-in .product-card {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.stat-number.counting {
    animation: countPulse 0.3s ease;
}

@keyframes countPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .about-cover h1 {
        font-size: 4rem;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 5rem;
        letter-spacing: -4px;
    }

    .stat-label {
        font-size: 1rem;
    }

    .about-stats {
        height: auto;
        flex-direction: column;
    }

    .about-stats .stat-block {
        height: 40vh;
        min-height: 300px;
    }

    .about-philosophy,
    .about-values {
        height: auto;
        flex-direction: column;
    }

    .about-philosophy .lsec,
    .about-values .lsec {
        height: 50vh;
        min-height: 400px;
    }

    .about-philosophy .b-card {
        max-width: 60%;
    }

    .value-content {
        padding: 32px;
    }

    .value-content h3 {
        font-size: 2rem;
    }

    .craft-listing .product-card {
        min-width: 300px;
        width: 300px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .button {
        width: 100%;
        max-width: 400px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .about-cover {
        margin-top: 56px;
    }

    .about-cover h1 {
        font-size: 2.8rem;
        left: 16px;
        bottom: 16px;
    }

    .about-intro {
        padding: 32px 16px;
    }

    .about-text {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 4rem;
        letter-spacing: -3px;
    }

    .stat-label {
        font-size: 0.9rem;
        padding: 0 16px;
    }

    .about-stats .stat-block {
        height: 35vh;
        min-height: 250px;
    }

    .about-philosophy .lsec,
    .about-values .lsec {
        height: 50vh;
        min-height: 350px;
    }

    .about-philosophy .b-card {
        max-width: 50%;
        aspect-ratio: 1;
        gap: 24px;
        padding: 12px;
    }

    .about-philosophy .b-card .p-name {
        font-size: 1.2rem;
    }

    .about-philosophy .b-card p {
        font-size: 0.9rem;
    }

    .value-content {
        padding: 24px 16px;
    }

    .value-content h3 {
        font-size: 1.6rem;
    }

    .value-content p {
        font-size: 1rem;
    }

    .craft-listing .product-card {
        min-width: 260px;
        width: 260px;
    }

    .craft-listing .product-card .product-name {
        font-size: 1.2rem;
    }

    .craft-listing .product-card p {
        font-size: 0.9rem;
    }

    .about-cta {
        padding: 64px 16px;
    }

    .cta-buttons .button {
        width: 100%;
        min-width: auto;
    }

    .about-journey {
        margin-bottom: 32px;
    }
}

/* Territory Block Hover Enhancement for About Page */
.about-philosophy .lsec,
.about-values .lsec {
    cursor: pointer;
    transition: all 0.4s ease;
}

.about-philosophy .lsec:hover,
.about-values .lsec:hover {
    transform: scale(1.02);
}

/* Print Styles */
@media print {
    .about-cover,
    nav,
    footer,
    .scroll-indicator,
    .carousel-controls {
        display: none;
    }

    .section,
    .territory-block,
    .productlisting {
        page-break-inside: avoid;
    }
}

/* about */


/* Responsive layout corrections across storefront pages */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: clip; }
  img, video, iframe { max-width: 100%; }
  .products-page, .product-detail-page, main { width: 100%; }
  .products-page { padding-left: 14px; padding-right: 14px; }
  .products-grid { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .products-sidebar { max-width: min(340px, 88vw); }
  .products-topbar { flex-wrap: wrap; gap: 12px; }
  .product-detail-main { width: 100%; min-width: 0; }
  .product-gallery-section, .product-info-section { min-width: 0; }
  .footer .link-sec { flex-wrap: wrap; gap: 20px; }
  .footer .re-c { flex-wrap: wrap; }
  .productlisting .header { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .products-grid { gap: 8px; }
  .product-card-listing { min-width: 0; }
  .product-image-wrapper { aspect-ratio: 3 / 4; }
  .product-details-listing { padding: 9px 7px; }
  .products-topbar select, .products-topbar button { max-width: 100%; }
  .footer-logo img { max-width: 180px; height: auto; }
  .main-display-container { aspect-ratio: 4 / 5; }
}
.product-image-wrapper { position:relative; overflow:hidden; }
.product-image-wrapper video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .2s ease; }
.product-image-wrapper img { position:relative; z-index:1; transition:opacity .2s ease; }
.product-card-listing:hover .product-image-wrapper video,
.product-card-listing:focus-within .product-image-wrapper video { opacity:1; }
.product-card-listing:hover .product-image-wrapper img,
.product-card-listing:focus-within .product-image-wrapper img { opacity:0; }
.recommended-grid .product-card { color:inherit; text-decoration:none; cursor:pointer; }


/* Shipping, terms, and privacy.
   Body copy must not inherit the display face's -3px tracking, and the
   page needs an opaque layer so text does not paint on the fixed footer.
   Section headings opt out of the global h2 rule (62px, line-height 0). */
.policy-page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 100px max(7vw, calc((100% - 900px) / 2)) 120px;
    background: var(--body-background);
    color: var(--black);
    letter-spacing: 0;
}

.policy-page h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1;
    margin: 0 0 28px;
    letter-spacing: -0.04em;
}

.policy-page h2 {
    margin: 46px 0 12px;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--black);
}

.policy-page p,
.policy-page li,
.policy-notice {
    font-family: var(--font-family), Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0;
    max-width: 72ch;
}

.policy-notice {
    padding: 22px;
    background: #e8f0ff;
    border-left: 4px solid #146ef5;
    margin: 30px 0;
}

.policy-page a {
    color: inherit;
}
