
:root {
    /* Color palette from seeds design */
    --pale-lavender: #DED3D3;      /* Very light, desaturated pink/off-white */
    --light-pink: #D5B7BA;         /* Light, muted pink */
    --dusty-rose: #B68388;         /* Medium, dusty rose/muted reddish-pink */
    --rich-maroon: #81454D;        /* Darker, rich maroon/deep reddish-brown */
    --taupe: #7D6464;              /* Medium-dark, warm brown with hint of purple/grey */
    --cool-grey: #C7BBBE;          /* Light, cool grey with subtle hint of lavender/pink */
    --ink: #2a2a2a;                /* Dark text color */
}
@font-face {
    font-family: 'Across';
    src: url('../fonts/acros/AcrosstheRoad.eot');
    src: url('../fonts/acros/AcrosstheRoad.eot?#iefix') format('embedded-opentype'),
    url('../fonts/acros/AcrosstheRoad.woff') format('woff'),
    url('../fonts/acros/AcrosstheRoad.ttf') format('truetype'),
    url('../fonts/acros/AcrosstheRoad.svg#AcrosstheRoad') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: system-ui, sans-serif;
    background: var(--pale-lavender);
    color: var(--ink);
    line-height: 1.6;
}

/* Layout */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem;
}

.grid-3 {
    display: grid;
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    gap: 1.5rem;
}

/* Header */

.header {
    background-color: var(--rich-maroon);
    padding: 0;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: Across, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--pale-lavender);
    flex: 0 0 auto;
    z-index: 10;
}

.logo a {
    text-decoration: none;
    color: var(--pale-lavender);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 100;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--pale-lavender);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav a {
    text-decoration: none;
    color: var(--pale-lavender);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--light-pink);
}

.lang-switcher {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
    color: var(--pale-lavender);
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--pale-lavender);
}

/* Desktop: show in nav, hide mobile version */
.lang-switcher-desktop {
    display: inline-block;
}

.lang-switcher-mobile {
    display: none;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--rich-maroon);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--pale-lavender);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-pink);
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form input[type="search"] {
    background: transparent;
    border: none;
    color: var(--pale-lavender);
    outline: none;
    font-size: 0.9rem;
    width: 150px;
}

.search-form input[type="search"]::placeholder {
    color: var(--light-pink);
    opacity: 0.7;
}

.search-form button {
    background: transparent;
    border: none;
    color: var(--pale-lavender);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form button:hover {
    color: var(--light-pink);
}

/* Hero */

.hero {
    position: relative;
    background: var(--pale-lavender);
    color: var(--ink);
    padding: 5rem 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

.hero-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 2rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    border-radius: 20px;
    box-sizing: border-box;
}

.hero-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pale-lavender);
    opacity: 0.7;
    z-index: 0;
    border-radius: 20px;
}

.hero-image.active .hero-inner {
    opacity: 1;
    pointer-events: auto;
}

.hero-inner.container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    display: block;
    box-sizing: border-box;
    opacity: 1 !important;
}

.hero-inner h1 {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

.hero-inner p {
    display: block;
    color: var(--ink);
    margin-bottom: 1.5rem;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

.hero-inner .btn-primary {
    display: inline-block;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--rich-maroon);
}

.hero p {
    color: var(--rich-maroon);
    margin-bottom: 1.5rem;
}

.hero-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
    pointer-events: none;
}

.hero-indicators .indicator {
    pointer-events: auto;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cool-grey);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--rich-maroon);
}

.indicator:hover {
    transform: scale(1.2);
}

.indicator.active {
    background: var(--rich-maroon);
    transform: scale(1.3);
}

/* Buttons */

.btn-primary {
    background: var(--rich-maroon);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dusty-rose);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--rich-maroon);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--taupe);
    transform: translateY(-2px);
}

/* Categories */

.categories {
    padding: 3rem 0;
}

.categories-title {
    color: var(--rich-maroon);
    margin-bottom: 2rem;
    text-align: center;
}

.categories-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.categories-carousel {
    flex: 1;
    overflow: hidden;
}

.categories-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.cat-card {
    background: var(--cool-grey);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex: 0 0 calc(25% - 1.125rem); /* 4 cards on desktop with gap */
    min-width: 0;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}

.cat-card:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.cat-card-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(139, 74, 74, 0.2);
}
.cat-card-text a {
    text-decoration: none;
    color: white;
}
.carousel-btn {
    background: var(--rich-maroon);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--dusty-rose);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.categories-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.cat-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cool-grey);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--rich-maroon);
}

.cat-indicator:hover {
    transform: scale(1.2);
}

.cat-indicator.active {
    background: var(--rich-maroon);
    transform: scale(1.3);
}

/* Products */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(139, 74, 74, 0.2);
}

.product-img {
    width: 100%;
    height: 280px;
    background: var(--cool-grey);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 74, 74, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.view-product-text {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-card:hover .product-overlay {
    background: rgba(139, 74, 74, 0.7);
}

.product-card:hover .view-product-text {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ink);
    line-height: 1.4;
}

.price {
    color: var(--rich-maroon);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: auto;
}

/* Footer Menu */

.footer-menu {
    background: var(--rich-maroon);
    color: var(--pale-lavender);
    padding: 4rem 0;
}

.footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-column h3 {
    color: var(--pale-lavender);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--pale-lavender);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--rich-maroon);
    padding-left: 0.5rem;
}

.footer-about p {
    color: var(--pale-lavender);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pale-lavender);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: var(--rich-maroon);
    color: var(--pale-lavender);
    transform: translateY(-2px);
}

.footer {
    background: var(--dusty-rose);
    color: var(--rich-maroon);
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9rem;
}
.footer p {
    margin: 0;
}

/* Responsive */

/* Mobile: 1 category at a time */
@media (max-width: 767px) {
    /* Header Mobile Styles */
    .header-inner {
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1.8rem;
        flex: 1;
    }

    /* Mobile: show outside menu, hide desktop version */
    .lang-switcher-desktop {
        display: none;
    }

    .lang-switcher-mobile {
        display: inline-block;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--rich-maroon);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav.active {
        display: flex;
    }

    .nav-top {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-left: 0;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .search-form {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .search-form input[type="search"] {
        width: 100%;
        flex: 1;
    }

    /* Mobile Dropdown Menu */
    .nav-dropdown,
    .nav-customer-mobile {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 1rem;
        padding: 0.5rem 0;
        min-width: auto;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        display: none;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        padding-left: 1rem;
    }

    .nav-dropdown.active .nav-dropdown-menu,
    .nav-customer-mobile.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu li {
        margin: 0;
    }

    .nav-dropdown-menu a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--pale-lavender);
        font-size: 0.95rem;
    }

    .nav-dropdown-menu a:last-child {
        border-bottom: none;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
        color: var(--light-pink);
        padding-left: 0.5rem;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-arrow,
    .nav-customer-mobile.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Hero Mobile Styles */
    .hero-inner {
        width: 85%;
        min-height: 200px;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .hero-inner::before {
        border-radius: 16px;
    }

    .hero-inner h1 {
        font-size: 1.8rem;
    }

    /* Categories Carousel */
    .cat-card {
        flex: 0 0 100%; /* Full width on mobile */
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .categories-carousel-wrapper {
        gap: 0.5rem;
    }

    /* Footer Menu Mobile */
    .footer-menu {
        padding: 3rem 0;
    }

    .footer-menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* Tablet: 2 categories */
@media (min-width: 768px) and (max-width: 1023px) {
    .cat-card {
        flex: 0 0 calc(50% - 0.75rem); /* 2 cards on tablet */
    }

    /* Footer Menu Tablet */
    .footer-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: 4 categories */
@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .cat-card {
        flex: 0 0 calc(25% - 1.125rem); /* 4 cards on desktop */
    }
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Additional Styles for Yii2 Generated Content */
main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-img {
        height: 220px;
    }
}


.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* Breadcrumbs */
.breadcrumb-container {
    background: var(--pale-lavender);
    padding: 1rem 0;
}

.breadcrumb-custom {
    background: var(--cool-grey);
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    border-radius: 0.25rem;
}

.breadcrumb-custom .breadcrumb-item {
    color: var(--taupe);
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--rich-maroon);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--dusty-rose);
    text-decoration: underline;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--ink);
    font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--taupe);
    padding: 0 0.5rem;
    font-weight: 300;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* Product Detail Page */
.product-detail {
    padding: 2rem 0 4rem;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.product-main-image {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cool-grey);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
    background: var(--cool-grey);
}

.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: var(--rich-maroon);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.product-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cool-grey);
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rich-maroon);
}

.product-sku {
    font-size: 0.9rem;
    color: var(--taupe);
}

.product-description {
    color: var(--ink);
    line-height: 1.7;
    font-size: 1rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-author {
    color: var(--ink);
    font-size: 0.95rem;
}

.product-author strong {
    color: var(--rich-maroon);
}

.product-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-actions-primary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-actions-primary .btn-primary,
.product-actions-primary .btn-secondary {
    flex: 1;
    min-width: 150px;
}

.product-actions-secondary {
    text-align: center;
}

.btn-link {
    color: var(--rich-maroon);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: var(--dusty-rose);
    text-decoration: underline;
}

.btn-add-to-cart,
.btn-send-question {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Video Section */
.product-video-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--cool-grey);
}

.product-video-section h2 {
    color: var(--rich-maroon);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.video-container {
    border-radius: 14px;
    overflow: hidden;
}

/* Related Products */
.related-products-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--cool-grey);
}

.related-products-section h2 {
    color: var(--rich-maroon);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Product Detail Responsive */
@media (max-width: 991px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images {
        position: static;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .product-main-image {
        margin-bottom: 0.5rem;
    }

    .product-thumbnails {
        justify-content: center;
    }

    .thumbnail-item {
        width: 70px;
        height: 70px;
    }

    .product-actions-primary {
        flex-direction: column;
    }

    .product-actions-primary .btn-primary,
    .product-actions-primary .btn-secondary {
        width: 100%;
    }
}