/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: GeneratePress Child Theme - Authentic Monsieur TSHIRT Experience
 Author: Antigravity Team
 Template: generatepress
 Version: 2.4.0
*/

/* ============================================================
   1. GLOBAL RESETS & TYPOGRAPHY
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Caveat:wght@600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Hide default GeneratePress header and sidebar */
.site-header,
#masthead.site-header,
.main-navigation,
#site-navigation,
.mobile-menu-control-wrapper,
#right-sidebar,
.sidebar {
    display: none !important;
}

/* Full Width Container Resets */
.site,
.grid-container,
#page,
.site-content,
#content,
.site-main,
article {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mts-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mts-container {
        padding: 0 14px;
    }
}

/* Section Headings */
.mts-section {
    padding: 36px 0;
}

@media (max-width: 768px) {
    .mts-section {
        padding: 24px 0;
    }
}

.mts-section-heading {
    text-align: center;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .mts-section-heading {
        margin-bottom: 18px;
    }
}

.mts-pill-tag {
    display: inline-block;
    background: #FEF3C7;
    color: #B45A09;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.mts-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 6px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
}

@media (max-width: 768px) {
    .mts-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
}

.mts-subtitle {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .mts-subtitle {
        font-size: 12.5px !important;
    }
}

/* ============================================================
   2. TOPBAR - Monsieur TSHIRT Warm Amber Promo Banner
   ============================================================ */
.mts-topbar {
    background-color: #B45A09;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.mts-topbar-inner {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .mts-topbar {
        height: 30px;
    }
    .mts-topbar-inner {
        font-size: 11px;
    }
}

/* ============================================================
   3. MAIN HEADER - Refined & Perfectly Responsive
   ============================================================ */
.mts-main-header {
    background-color: #ffffff;
    height: 68px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

@media (max-width: 860px) {
    .mts-main-header {
        height: 58px;
    }
}

.mts-header-container {
    max-width: 1560px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mts-header-container {
        padding: 0 12px;
        gap: 10px;
    }
}

/* Mobile Toggle */
.mts-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #163763;
    padding: 6px;
    cursor: pointer;
    flex: 0 0 auto;
}

@media (max-width: 860px) {
    .mts-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Logo */
.mts-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.mts-brand-logo {
    height: 24px;
    width: auto;
    max-width: 210px;
    display: block;
    object-fit: contain;
}

@media (max-width: 860px) {
    .mts-logo-wrap {
        flex: 1 1 auto;
        justify-content: center;
    }
    .mts-brand-logo {
        height: 20px;
        max-width: 160px;
    }
}

@media (max-width: 400px) {
    .mts-brand-logo {
        height: 18px;
        max-width: 135px;
    }
}

/* Search Form */
.mts-search-wrap {
    flex: 1 1 auto;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .mts-search-wrap {
        display: none;
    }
}

.mts-search-form {
    background: #f4f5f7;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    height: 42px;
    padding: 0 8px 0 18px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    width: 100%;
}

.mts-search-form:focus-within {
    background: #ffffff;
    border-color: #163763;
    box-shadow: 0 0 0 3px rgba(22, 55, 99, 0.08);
}

.mts-search-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #1f2937 !important;
    padding: 0 !important;
    height: 38px !important;
    width: 100% !important;
    line-height: 38px !important;
    font-family: inherit !important;
}

.mts-search-input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.mts-search-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #64748b !important;
    padding: 0 !important;
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: all 0.15s ease !important;
}

.mts-search-btn:hover {
    color: #163763 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

/* Right Actions */
.mts-actions-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mts-action-btn {
    color: #163763;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.15s ease;
    text-decoration: none;
    position: relative;
}

.mts-action-btn:hover {
    color: #DF5E18;
    background: #f8fafc;
}

.mts-cart-count {
    background: #DF5E18;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    height: 18px;
    min-width: 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1px;
    right: 1px;
    padding: 0 4px;
    box-sizing: border-box;
}

/* ============================================================
   4. NAVIGATION BAR (Desktop Only)
   ============================================================ */
.mts-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
}

@media (max-width: 860px) {
    .mts-nav-bar {
        display: none;
    }
}

.mts-nav-container {
    max-width: 1560px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.mts-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.mts-nav-list::-webkit-scrollbar {
    display: none;
}

.mts-nav-item {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.mts-nav-link {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-decoration: none !important;
    padding: 10px 2px !important;
    display: inline-block !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.15s ease !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.mts-nav-link:hover,
.mts-nav-item.current-item .mts-nav-link {
    color: #DF5E18 !important;
    font-weight: 600 !important;
    border-bottom-color: #DF5E18 !important;
}

/* ============================================================
   5. MOBILE DRAWER
   ============================================================ */
.mts-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mts-drawer-overlay.active {
    display: block;
}

.mts-mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 290px;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mts-mobile-drawer.active {
    left: 0;
}

.mts-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.mts-drawer-title {
    font-size: 15px;
    font-weight: 800;
    color: #163763;
}

.mts-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
}

.mts-drawer-search {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.mts-drawer-nav {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.mts-drawer-nav li a {
    display: block;
    padding: 11px 18px;
    color: #1f2937;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
}

.mts-drawer-nav li a:hover {
    background: #f8fafc;
    color: #DF5E18;
}

.mts-drawer-promo {
    margin-top: auto;
    padding: 14px;
    background: #FFFBEB;
    color: #B45A09;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
}

body.mts-drawer-locked {
    overflow: hidden;
}

/* ============================================================
   6. HERO BANNER & BUTTONS
   ============================================================ */
.mts-hero-banner {
    width: 100%;
    background: #FDFBF7;
    margin: 0;
    padding: 0;
}

.mts-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

.mts-hero-link {
    display: block;
    width: 100%;
}

.mts-hero-picture {
    display: block;
    width: 100%;
}

.mts-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mts-hero-cta-bar {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
    width: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mts-hero-cta-bar {
        position: static;
        transform: none;
        display: flex;
        flex-direction: column;
        padding: 14px 16px;
        gap: 10px;
        background: #ffffff;
    }
}

.mts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 8px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .mts-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 12.5px;
        box-shadow: none;
    }
}

.mts-btn-orange {
    background: #DF5E18 !important;
    color: #ffffff !important;
}

.mts-btn-orange:hover {
    background: #C44C0E !important;
    transform: translateY(-2px);
}

.mts-btn-white {
    background: #ffffff !important;
    color: #163763 !important;
}

.mts-btn-white:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
}

.mts-btn-large {
    padding: 14px 32px;
    font-size: 15px;
}

/* ============================================================
   7. STORIES CIRCLES (Instagram-style Horizontal Scroll)
   ============================================================ */
.mts-stories-section {
    padding: 18px 0 10px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.mts-stories {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 22px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px 16px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.mts-stories::-webkit-scrollbar {
    display: none !important;
}

@media (max-width: 860px) {
    .mts-stories {
        justify-content: flex-start !important;
        gap: 14px !important;
        padding: 4px 12px !important;
    }
}

.mts-story-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    flex: 0 0 78px !important;
    min-width: 78px !important;
    transition: transform 0.2s ease !important;
}

@media (max-width: 768px) {
    .mts-story-item {
        flex: 0 0 68px !important;
        min-width: 68px !important;
    }
}

.mts-story-item:hover {
    transform: translateY(-2px) !important;
}

.mts-story-circle {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    padding: 2px !important;
    background: linear-gradient(135deg, #DF5E18, #F59E0B) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .mts-story-circle {
        width: 58px !important;
        height: 58px !important;
    }
}

.mts-story-circle img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    object-fit: cover !important;
    display: block !important;
}

.mts-story-label {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    display: block !important;
}

@media (max-width: 768px) {
    .mts-story-label {
        font-size: 10.5px !important;
    }
}

/* ============================================================
   8. UNIVERS 6-CARDS GRID
   ============================================================ */
.mts-vgroup-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .mts-vgroup-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 600px) {
    .mts-vgroup-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

.mts-vgroup-card {
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: block !important;
    aspect-ratio: 1 / 1.15 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
}

.mts-vgroup-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.mts-vgroup-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.mts-vgroup-card .card-label {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 768px) {
    .mts-vgroup-card .card-label {
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        padding: 4px 8px !important;
    }
}

.mts-vgroup-card .card-label strong {
    color: #163763 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
}

.mts-vgroup-card .card-label span {
    color: #6b7280 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
}

/* ============================================================
   9. WOOCOMMERCE PRODUCT CARDS & 4-COLUMN GRID
   ============================================================ */
.woocommerce ul.products,
.mts-woocommerce-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 16px auto !important;
    padding: 0 !important;
    list-style: none !important;
    max-width: 1440px !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products,
    .mts-woocommerce-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 500px) {
    .woocommerce ul.products,
    .mts-woocommerce-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

.woocommerce ul.products li.product,
.mts-woocommerce-products ul.products li.product {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    padding: 12px !important;
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product,
    .mts-woocommerce-products ul.products li.product {
        padding: 8px !important;
        border-radius: 10px !important;
    }
}

.woocommerce ul.products li.product:hover,
.mts-woocommerce-products ul.products li.product:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #e2e8f0 !important;
}

.woocommerce ul.products li.product img,
.mts-woocommerce-products ul.products li.product img {
    border-radius: 8px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.mts-woocommerce-products .woocommerce-loop-product__title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 10px 0 4px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .mts-woocommerce-products .woocommerce-loop-product__title {
        font-size: 12px !important;
        margin: 6px 0 3px !important;
    }
}

.woocommerce ul.products li.product .price,
.mts-woocommerce-products .price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #163763 !important;
    margin: 0 0 10px !important;
    display: block !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product .price,
    .mts-woocommerce-products .price {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }
}

.woocommerce ul.products li.product .button,
.mts-woocommerce-products .button {
    background: #163763 !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 9px 14px !important;
    border-radius: 7px !important;
    text-transform: none !important;
    border: none !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    margin-top: auto !important;
    transition: background 0.15s ease !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product .button,
    .mts-woocommerce-products .button {
        font-size: 11.5px !important;
        padding: 7px 10px !important;
    }
}

.woocommerce ul.products li.product .button:hover,
.mts-woocommerce-products .button:hover {
    background: #DF5E18 !important;
}

/* ============================================================
   10. TRUST REASSURANCE BAR
   ============================================================ */
.mts-trust-bar {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 28px 0;
}

@media (max-width: 768px) {
    .mts-trust-bar {
        padding: 18px 0;
    }
}

.mts-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .mts-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.mts-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mts-trust-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mts-trust-text strong {
    display: block;
    font-size: 12.5px;
    color: #111827;
}

.mts-trust-text span {
    font-size: 11px;
    color: #6b7280;
}

/* ============================================================
   11. DARK NAVY CTA BANNER
   ============================================================ */
.mts-cta-banner {
    background: #163763;
    color: #ffffff;
    padding: 48px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .mts-cta-banner {
        padding: 32px 14px;
    }
}

.mts-cta-tag {
    display: inline-block;
    color: #FBBF24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.mts-cta-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
}

@media (max-width: 768px) {
    .mts-cta-title {
        font-size: 19px !important;
    }
}

.mts-cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto 22px;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .mts-cta-desc {
        font-size: 12.5px;
        margin-bottom: 16px;
    }
}

/* ============================================================
   12. SINGLE PRODUCT PAGE
   ============================================================ */
.woocommerce div.product {
    max-width: 1380px !important;
    margin: 28px auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .woocommerce div.product {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 14px !important;
        margin: 14px auto !important;
    }
}

/* Gallery */
.woocommerce div.product div.images {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
    background: #f8fafc !important;
}

.woocommerce div.product div.images img {
    border-radius: 14px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Summary */
.woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Title on Single Product */
.woocommerce div.product .product_title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}

@media (max-width: 768px) {
    .woocommerce div.product .product_title {
        font-size: 19px !important;
    }
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #163763 !important;
    margin: 0 0 14px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

/* Top Meta */
.mts-p-top-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.mts-p-badge-col {
    display: inline-flex;
    align-items: center;
    background: #FEF3C7;
    color: #92400E;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    width: fit-content;
}

.mts-p-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
}

.mts-p-stars {
    color: #F59E0B;
    letter-spacing: 1.5px;
    font-size: 14px;
}

.mts-p-score {
    color: #475569;
}

.mts-p-score strong {
    color: #0f172a;
}

.mts-p-stock-pill {
    background: #ECFDF5;
    color: #065F46;
    font-size: 11px;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 9999px;
}

/* Personalization Box */
.mts-personalization-box {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    margin: 0 0 18px;
    box-sizing: border-box;
    width: 100% !important;
    flex: 1 1 100% !important;
}

.mts-p-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mts-p-box-icon {
    font-size: 18px;
    background: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mts-p-box-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.mts-p-box-sub {
    font-size: 11px;
    color: #64748b;
}

.mts-p-field-wrap {
    margin-bottom: 12px;
}

.mts-p-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.mts-p-input-relative {
    position: relative;
    display: flex;
    align-items: center;
}

.mts-p-input {
    width: 100% !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 45px 0 12px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.mts-p-input:focus {
    border-color: #DF5E18 !important;
    box-shadow: 0 0 0 3px rgba(223, 94, 24, 0.1) !important;
}

.mts-p-counter {
    position: absolute;
    right: 10px;
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
}

.mts-p-font-select {
    margin-bottom: 12px;
}

.mts-p-font-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 5px;
}

.mts-font-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mts-font-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.mts-font-pill input {
    display: none;
}

.mts-font-pill.active {
    background: #163763;
    border-color: #163763;
    color: #ffffff;
}

.mts-p-live-preview {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mts-preview-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.mts-preview-text {
    font-size: 18px;
    color: #DF5E18;
    font-weight: 700;
}

.mts-preview-text.font-manuscrite {
    font-family: 'Caveat', cursive;
    font-size: 22px;
}

.mts-p-quality-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
}

/* Add to Cart & Quantity */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 12px 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce div.product form.cart .quantity {
    float: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

.woocommerce div.product form.cart .quantity .qty {
    height: 48px !important;
    width: 60px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1 1 200px !important;
    height: 48px !important;
    background: #DF5E18 !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(223, 94, 24, 0.25) !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #C44C0E !important;
    transform: translateY(-1px) !important;
}

/* Single Product Reassurance Box */
.mts-single-reassurance {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mts-reassure-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mts-reassure-icon {
    font-size: 18px;
    width: 28px;
    height: 28px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mts-reassure-text strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 700;
}

.mts-reassure-text span {
    font-size: 11.5px;
    color: #64748b;
}

/* Tabs */
.woocommerce-tabs {
    grid-column: 1 / -1 !important;
    margin-top: 32px !important;
    border-top: 2px solid #f1f5f9 !important;
    padding-top: 24px !important;
}

.woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none !important;
}

.woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    padding: 0 0 10px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.woocommerce-tabs ul.tabs li a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-decoration: none !important;
    padding: 0 0 10px !important;
    border-bottom: 2px solid transparent !important;
    display: block !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #163763 !important;
    border-bottom-color: #DF5E18 !important;
}

/* Footer */
.site-footer {
    background: #111827 !important;
    color: #9ca3af !important;
    padding: 36px 0 !important;
    font-size: 12.5px !important;
}

.site-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* Responsive Reset for WP Admin Bar and Mobile Header */
@media screen and (max-width: 782px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    #wpadminbar {
        min-width: 0 !important;
        width: 100% !important;
    }
    .mts-header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 10px !important;
        gap: 8px !important;
    }
    .mts-logo-wrap {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: center !important;
        max-width: calc(100% - 110px) !important;
    }
    .mts-brand-logo {
        height: 18px !important;
        max-width: 140px !important;
    }
    .mts-actions-wrap {
        flex: 0 0 auto !important;
        gap: 4px !important;
    }
    .mts-action-btn {
        width: 34px !important;
        height: 34px !important;
    }
    .mts-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        padding: 0 12px !important;
        word-wrap: break-word !important;
    }
    .mts-subtitle {
        font-size: 12px !important;
        padding: 0 12px !important;
    }
    .mts-hero-cta-bar {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        padding: 12px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }
}

/* ============================================================
   14. WOOCOMMERCE CART & NOTICE POLISH
   ============================================================ */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    background: #F8FAFC !important;
    border-left: 4px solid #163763 !important;
    color: #1e293b !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 18px 24px !important;
    max-width: 900px !important;
    margin: 32px auto !important;
    list-style: none !important;
}

.woocommerce-info a.button,
.woocommerce .return-to-shop a.button {
    background: #DF5E18 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(223, 94, 24, 0.25) !important;
    border: none !important;
    display: inline-block !important;
    margin-top: 14px !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.woocommerce-info a.button:hover,
.woocommerce .return-to-shop a.button:hover {
    background: #C44C0E !important;
    transform: translateY(-2px) !important;
}

.woocommerce .return-to-shop {
    text-align: center !important;
    margin-top: 20px !important;
}
