/*
Theme Name: Maclaren Classic
Theme URI: http://www.maclaren.sk
Description: Moderná farebná schéma Maclaren inšpirovaná oficiálnym vizuálom značky, čistou estetikou a červeným akcentom.
Author: Antigravity
Version: 1.1.0
*/

/* GLOBAL RESET & FONTS */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, form, fieldset, img, ul, ol { margin: 0; padding: 0; border: 0; }
body {
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #333333;
    margin: 0;
    padding: 20px 10px;
    line-height: 1.5;
}

a { color: #2c3238; text-decoration: underline; }
a:hover { color: #d01c02; text-decoration: underline; }

/* CONTAINER & MAIN BOX */
#container {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    border: 1px solid #dce1e8;
    border-radius: 4px;
    overflow: hidden;
    text-align: left;
}

/* (HEAD1 removed - cart moved to navigation bar) */

/* HEADER BANNER (HEAD2) - Modern Clean Banner */
#head2 {
    position: relative;
    height: 220px;
    background: #ffffff url('img/banner_maclaren_modern.jpg') no-repeat center right;
    background-size: cover;
    color: #1a202c;
    border-bottom: 1px solid #e2e8f0;
}
#logo {
    position: absolute;
    top: 22px;
    left: 35px;
    padding: 0;
}
.logo-link {
    display: block;
    text-decoration: none;
}
.site-logo-img {
    width: 140px;
    max-width: 140px;
    height: auto;
    display: block;
}

/* HORIZONTAL NAVIGATION (HEAD3) - Šedo-kávové pozadie s červenou linkou */
#head3 {
    width: 100%;
    background: #4e4540;
    border-bottom: 3px solid #d01c02;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
#menu2 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
#menu2 li { margin: 0; padding: 0; }
#menu2 a {
    display: block;
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
#menu2 a:hover, #menu2 li.current-menu-item a {
    background: #d01c02;
    color: #ffffff;
    text-decoration: none;
}
.nav-cart {
    display: flex;
    align-items: stretch;
    margin-left: auto;
}
.nav-cart-link {
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 40px;
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.nav-cart-link:hover {
    background: #d01c02;
    color: #ffffff;
    text-decoration: none;
}
.nav-cart-icon {
    margin-right: 6px;
    font-size: 14px;
}
.nav-cart-count {
    margin-left: 5px;
    font-weight: 700;
    color: #ffffff;
}

/* MAIN BODY & 2-COLUMN LAYOUT */
#body {
    width: 100%;
    display: flex;
    flex-direction: row;
    background: #ffffff;
    padding: 15px 0;
    min-height: 500px;
}

/* LEFT SIDEBAR (#column) */
#column {
    width: 210px;
    min-width: 210px;
    padding: 0 15px 15px 15px;
    border-right: 1px solid #edf2f7;
}
.sidebar-box {
    margin-bottom: 18px;
}
.sidebar-search {
    background: #f7f9fb;
    padding: 10px 8px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}
.sidebar-search input[type="text"], .sidebar-search input[type="search"] {
    width: 110px;
    padding: 6px;
    border: 1px solid #cbd5e0;
    border-radius: 3px;
    font-size: 11px;
}
.sidebar-search button, .sidebar-search input[type="submit"] {
    padding: 5px 10px;
    background: #d01c02;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    font-weight: bold;
}
.sidebar-search button:hover {
    background: #b01500;
}

/* Category header */
.sidebar-title {
    margin: 10px 0 0;
    padding: 7px 12px;
    background: #d01c02;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 4px 4px 0 0;
    letter-spacing: 0.5px;
}
.sidebar-box:first-child .sidebar-title {
    margin-top: 0;
}

.sidebar-menu {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
    background: #fbfcfd;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.sidebar-menu li {
    margin: 0;
    padding: 0;
}
.sidebar-menu a {
    display: block;
    padding: 8px 12px 8px 24px;
    border-top: 1px solid #edf2f7;
    background: url('img/point.gif') no-repeat 10px 13px;
    color: #4a5568;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.15s, background-color 0.15s;
}
.sidebar-menu li:first-child a {
    border-top: none;
}
.sidebar-menu a:hover, .sidebar-menu li.current-cat a {
    color: #d01c02;
    background-color: #fff;
    font-weight: bold;
    text-decoration: none;
}

/* RIGHT CONTENT AREA */
#content {
    flex: 1;
    padding: 0 20px 20px 20px;
}

/* PROMO BOX MATCHING MACLAREN.SK */
.maclaren-promo-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d01c02;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}
.promo-item {
    margin-bottom: 12px;
}
.promo-item:last-child {
    margin-bottom: 0;
}
.promo-title, .maclaren-promo-box h2, .maclaren-promo-box h3, .maclaren-promo-box h4 {
    color: #d01c02;
    font-size: 15px;
    font-weight: bold;
    margin-top: 14px;
    margin-bottom: 5px;
}
.maclaren-promo-box > h2:first-child,
.maclaren-promo-box > h3:first-child,
.maclaren-promo-box > h4:first-child,
.promo-item:first-child .promo-title {
    margin-top: 0;
}
.promo-list, .maclaren-promo-box ul {
    margin: 5px 0 12px 20px;
    padding: 0;
    color: #4a5568;
}
.promo-list li, .maclaren-promo-box li {
    margin-bottom: 4px;
}
.maclaren-promo-box p {
    margin-bottom: 12px;
    line-height: 1.6;
}
.maclaren-promo-box > *:last-child,
.maclaren-promo-box p:last-child {
    margin-bottom: 0;
}

.page-title, h1.entry-title, .woocommerce-products-header__title {
    color: #d01c02;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* STATIC PAGE CONTENT STYLES */
.page-content {
    font-size: 13px;
    line-height: 1.7;
    color: #333333;
}
.page-content p {
    margin-bottom: 14px;
}
.page-content ul, .page-content ol {
    margin: 0 0 15px 25px;
    padding: 0;
}
.page-content li {
    margin-bottom: 6px;
}
ul.imagesList {
    list-style: none;
    margin: 0 0 18px 20px;
    padding: 0;
    float: right;
}
ul.imagesList li {
    margin: 0;
    padding: 0;
}
ul.imagesList img {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px;
    background: #ffffff;
    max-width: 250px;
    height: auto;
    display: block;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.page-content table td, .page-content table th {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
}

/* HIDE CATALOG ORDERING (ZORADENIE) */
.woocommerce-ordering {
    display: none !important;
}

/* CLEAR WOOCOMMERCE FLOATS AND PSEUDO ELEMENTS */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products::before,
ul.products::after {
    content: none !important;
    display: none !important;
}

/* PRODUCT LISTING (2-STĹPCOVÉ ZOBRAZENIE) */
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products[class*="columns-"],
.woocommerce-page ul.products[class*="columns-"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
}
ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
ul.products li.product:hover {
    border-color: #cbd5e0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    transform: translateY(-2px) !important;
}
ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    flex: 1 !important;
}
ul.products li.product img,
.woocommerce ul.products li.product a img,
.woocommerce-loop-product__thumbnail {
    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto 12px auto !important;
    padding: 4px !important;
    background: #ffffff !important;
    border: none !important;
    display: block !important;
}
ul.products li.product .woocommerce-loop-product__title {
    color: #1a202c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    min-height: 38px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
    line-height: 1.3 !important;
}
ul.products li.product .woocommerce-loop-product__title:hover {
    color: #d01c02 !important;
    text-decoration: none;
}
ul.products li.product .price,
.woocommerce ul.products li.product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    margin: 4px 0 10px 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
}
ul.products li.product .price .price-current-row,
ul.products li.product .price .price-current-row *,
.woocommerce ul.products li.product .price .price-current-row,
.woocommerce ul.products li.product .price .price-current-row * {
    display: inline !important;
    color: #d01c02 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
.maclaren-orig-price-field,
.maclaren-orig-price-field *,
ul.products li.product .price .maclaren-orig-price-field,
ul.products li.product .price .maclaren-orig-price-field *,
.woocommerce ul.products li.product .price .maclaren-orig-price-field,
.woocommerce ul.products li.product .price .maclaren-orig-price-field * {
    display: inline-block !important;
    color: #777777 !important;
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
}
.maclaren-orig-price-field del,
.maclaren-orig-price-field del *,
ul.products li.product .price .maclaren-orig-price-field del,
ul.products li.product .price .maclaren-orig-price-field del * {
    color: #777777 !important;
    text-decoration: line-through !important;
    font-weight: normal !important;
}
ul.products li.product .button,
.woocommerce ul.products li.product .button {
    padding: 8px 14px !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: background 0.2s !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}
ul.products li.product a.button-more-info,
.woocommerce ul.products li.product a.button-more-info {
    margin-top: auto !important;
    margin-bottom: 6px !important;
    background: #6c757d !important;
    background-color: #6c757d !important;
    color: #ffffff !important;
}
ul.products li.product a.button-more-info:hover,
.woocommerce ul.products li.product a.button-more-info:hover {
    background: #495057 !important;
    background-color: #495057 !important;
    color: #ffffff !important;
}
ul.products li.product .button:not(.button-more-info),
.woocommerce ul.products li.product .button:not(.button-more-info) {
    margin-top: 0 !important;
    background: #d01c02 !important;
    background-color: #d01c02 !important;
    color: #ffffff !important;
}
ul.products li.product .button:not(.button-more-info):hover,
.woocommerce ul.products li.product .button:not(.button-more-info):hover {
    background: #b01500 !important;
    background-color: #b01500 !important;
    color: #ffffff !important;
}

/* SINGLE PRODUCT PAGE */
.product .summary {
    float: right;
    width: 55%;
}
.product .woocommerce-product-gallery {
    float: left;
    width: 42%;
}
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery .wp-post-image {
    width: 100% !important;
    max-height: 480px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 6px !important;
    background: #ffffff !important;
}
.flex-control-thumbs li img,
.woocommerce-product-gallery--with-images .flex-control-thumbs img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    padding: 2px !important;
    background: #fff !important;
}
.single-product .product_title {
    color: #1a202c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.single-product p.price,
.woocommerce div.product p.price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 15px !important;
}
.single-product p.price .price-current-row,
.single-product p.price .price-current-row *,
.woocommerce div.product p.price .price-current-row,
.woocommerce div.product p.price .price-current-row * {
    font-size: 22px !important;
    color: #d01c02 !important;
    font-weight: 700 !important;
    display: inline !important;
}
.single-product p.price .maclaren-orig-price-field,
.single-product p.price .maclaren-orig-price-field *,
.woocommerce div.product p.price .maclaren-orig-price-field,
.woocommerce div.product p.price .maclaren-orig-price-field * {
    font-size: 14px !important;
    color: #777777 !important;
    font-weight: normal !important;
    display: inline-block !important;
}
.single-product p.price .maclaren-orig-price-field del,
.single-product p.price .maclaren-orig-price-field del *,
.woocommerce div.product p.price .maclaren-orig-price-field del,
.woocommerce div.product p.price .maclaren-orig-price-field del * {
    font-size: 14px !important;
    color: #777777 !important;
    text-decoration: line-through !important;
    font-weight: normal !important;
}
.single-product .single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: #d01c02 !important;
    background-color: #d01c02 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    text-shadow: none !important;
}
.single-product .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce button.button.alt:hover {
    background: #b01500 !important;
    background-color: #b01500 !important;
    color: #ffffff !important;
}

/* REVIEWS & COMMENTS REMOVAL */
#reviews,
.woocommerce-Reviews,
.woocommerce-Tabs-panel--reviews,
#tab-title-reviews,
.reviews_tab,
.comment-respond,
#comments,
.woocommerce-noreviews,
#review_form_wrapper,
.woocommerce-product-rating,
.star-rating {
    display: none !important;
}

/* CART & CHECKOUT */
.woocommerce-cart table.cart, .woocommerce-checkout table.shop_table {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #ffffff;
}
.woocommerce-cart table.cart th, .woocommerce-checkout table.shop_table th {
    background: #f8fafc;
    color: #4a5568;
    font-weight: 600;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
    background: #d01c02 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    border: none !important;
}

/* FOOTER */
#foot {
    clear: both;
    width: 100%;
    background: #f8f9fb;
    border-top: 1px solid #e2e8f0;
    padding: 14px 20px;
    font-size: 12px;
    color: #718096;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#foot a { color: #2c3238; }

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILNÁ OPTIMALIZÁCIA - LEN PRE DISPLEJE <= 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
        font-size: 14px;
    }
    #container {
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
        margin: 0;
    }
    
    /* 1. Header Banner & Logo */
    #head2 {
        height: 130px;
        background-position: 85% center;
        background-size: cover;
    }
    #logo {
        top: 15px;
        left: 15px;
    }
    .site-logo-img {
        width: 100px;
        max-width: 100px;
    }

    /* 2. Top Navigation Bar & Cart */
    #head3 {
        flex-direction: column;
        align-items: stretch;
    }
    #menu2 {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        background: #4e4540;
    }
    #menu2 li {
        flex: 1 1 auto;
        text-align: center;
    }
    #menu2 a {
        height: 38px;
        line-height: 38px;
        padding: 0 10px;
        font-size: 12px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }
    .nav-cart {
        width: 100%;
        margin-left: 0;
        background: #d01c02;
    }
    .nav-cart-link {
        width: 100%;
        justify-content: center;
        height: 42px;
        line-height: 42px;
        font-size: 14px;
        font-weight: 700;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* 3. Main Body & Sidebar */
    #body {
        flex-direction: column;
        padding: 10px 0;
        min-height: auto;
    }
    #column {
        width: 100%;
        min-width: 100%;
        padding: 10px 15px;
        border-right: none;
        border-bottom: 2px solid #edf2f7;
        margin-bottom: 15px;
    }
    .sidebar-search {
        padding: 10px;
        margin-bottom: 12px;
    }
    .sidebar-search form {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    .sidebar-search input[type="search"],
    .sidebar-search input[type="text"] {
        flex: 1;
        width: 100%;
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 4px;
    }
    .sidebar-search button,
    .sidebar-search input[type="submit"] {
        height: 38px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 4px;
        white-space: nowrap;
    }
    .sidebar-title {
        border-radius: 4px;
        padding: 8px 12px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 0 0 4px 4px;
        margin-bottom: 12px;
    }
    .sidebar-menu li {
        flex: 1 1 calc(50% - 6px);
        margin: 0;
        padding: 0;
    }
    .sidebar-menu a {
        display: block;
        padding: 8px 10px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #2d3748;
        background-image: none !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    }
    .sidebar-menu a:hover,
    .sidebar-menu li.current-cat a {
        background: #d01c02;
        color: #ffffff;
        border-color: #d01c02;
    }

    /* 4. Content Area & Products */
    #content {
        padding: 0 15px 20px 15px;
    }
    .page-title, h1.entry-title, .woocommerce-products-header__title {
        font-size: 19px;
    }
    
    /* Product grid on tablet/phone */
    ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*="columns-"],
    .woocommerce-page ul.products[class*="columns-"] {
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    ul.products li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        padding: 12px !important;
    }
    ul.products li.product img,
    .woocommerce ul.products li.product a img,
    .woocommerce-loop-product__thumbnail {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        margin-bottom: 8px !important;
    }
    ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        min-height: 34px !important;
    }
    ul.products li.product .button,
    .woocommerce ul.products li.product .button {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    /* 5. Single Product Page on mobile */
    .product .summary,
    .product .woocommerce-product-gallery {
        float: none !important;
        width: 100% !important;
        margin-bottom: 20px;
    }
    .woocommerce-product-gallery__image img,
    .woocommerce-product-gallery .wp-post-image {
        max-height: 360px !important;
    }
    .single-product .product_title {
        font-size: 20px;
    }
    .woocommerce div.product form.cart {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }
    .single-product .single_add_to_cart_button,
    .woocommerce div.product form.cart .button {
        flex: 1;
        padding: 12px 20px !important;
        font-size: 15px !important;
    }

    /* 6. Static Pages Images */
    ul.imagesList {
        float: none !important;
        margin: 15px auto !important;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    ul.imagesList img {
        max-width: 100% !important;
        margin: 0 auto;
    }

    /* 7. Cart & Checkout responsiveness */
    .woocommerce-cart table.cart,
    .woocommerce-checkout table.shop_table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    .woocommerce-cart table.cart td.actions .coupon {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .woocommerce-cart table.cart td.actions .coupon input[type="text"] {
        width: 100% !important;
    }
    .woocommerce-cart table.cart td.actions .coupon button {
        width: 100% !important;
    }

    /* 8. Footer */
    #foot {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 15px;
    }
}

/* Extra small devices (phones under 480px) */
@media screen and (max-width: 480px) {
    #head2 {
        height: 110px;
    }
    #logo {
        top: 12px;
        left: 12px;
    }
    .site-logo-img {
        width: 85px;
        max-width: 85px;
    }
    /* 1-column product cards for maximum readability on small phones */
    ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*="columns-"],
    .woocommerce-page ul.products[class*="columns-"] {
        grid-template-columns: 1fr !important;
    }
    ul.products li.product img,
    .woocommerce ul.products li.product a img,
    .woocommerce-loop-product__thumbnail {
        height: 180px !important;
        max-height: 180px !important;
    }
    .sidebar-menu li {
        flex: 1 1 100%;
    }
}

