/* Michael Kors Inspired Home Page - Optimized Animations & Cards */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --neutral-light: #F5F5F5;
    --text-color: #000000;
    --divider-color: #E5E5E5;
    --font-main: 'Montserrat', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Header Spacing */
.site-header {
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* Force Full Width for Woostify Containers - Applied Globally */
.container,
.woostify-container,
.content-area,
#primary,
.site-main,
.site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home-container,
.site-main,
#main {
    width: 100%;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Helpers */
.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-padding {
    padding: 60px 5%;
    /* Slightly reduced vertical padding */
}

/* Promotional Top Bar */
.promo-bar {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 10px 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 750px;
    /* Adjusted from 75vh for better framing */
    min-height: 650px;
    background-image: url('../images/descktopimg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease;
}

@media (max-width: 767px) {
    .hero-section {
        background-image: url('../images/hero-mobile.png');
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 50px;
    max-width: 85%;
    width: 550px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.btn-mk {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid var(--primary-color);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-mk:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Category Banners - Now in a 4-column grid or 2x2 */
.category-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    /* Smaller gap */
    padding: 8px;
}

.category-banner-item {
    position: relative;
    height: 55vh;
    /* Reduced height */
    max-height: 500px;
    overflow: hidden;
    background: #ccc;
}

.category-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.category-banner-item:hover img {
    transform: scale(1.1);
}

.category-banner-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 15px;
    z-index: 2;
}

.category-banner-content h2 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    /* Smaller font */
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-mk-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.btn-mk-link:hover {
    letter-spacing: 3px;
    opacity: 0.8;
}

.product-grid-mk {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 1199px) {
    .product-grid-mk {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .product-grid-mk {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid-mk {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card-mk {
    background: var(--neutral-light);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    top: 0;
}

.product-card-mk:hover {
    top: -10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.product-image-container {
    padding-top: 120%;
    /* Slightly more compact ratio */
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card-mk:hover .product-image-container img {
    transform: scale(1.05);
}

.product-info-mk {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.product-name-mk {
    font-size: 0.75rem;
    /* Smaller font */
    font-weight: 500;
    margin-bottom: 6px;
    height: 2.8em;
    overflow: hidden;
    line-height: 1.4;
}

.product-price-mk {
    font-size: 0.85rem;
    font-weight: 600;
}

.discount-badge-mk {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 100;
    pointer-events: none;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.product-installments-mk {
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
    margin-bottom: 12px;
}

.btn-mk-cta {
    display: block;
    width: 100%;
    padding: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.btn-mk-cta:hover {
    background: #333;
    letter-spacing: 1px;
}

/* Newsletter Section */
.newsletter-section {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 60px 5%;
}

.newsletter-section h2 {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.newsletter-form input {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 15px;
    width: 300px;
    max-width: 60%;
    margin-right: -1px;
    outline: none;
}

.newsletter-form button {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 10px 25px;
    cursor: pointer;
    font-weight: 700;
}

.newsletter-form button:hover {
    background: transparent;
    color: #fff;
}

/* About Us Section */
.about-section {
    background: #fff;
    border-top: 1px solid var(--divider-color);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content {
    flex: 1;
    padding: 20px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    background: var(--neutral-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.faq-grid {
    margin-top: 40px;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border: 1px solid var(--divider-color);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 15px 25px 25px;
    transition: max-height 0.4s ease-in-out;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Response for FAQ */
@media (max-width: 767px) {
    .about-container {
        flex-direction: column;
    }

    .about-content {
        padding: 40px 0 0;
        text-align: center;
    }
}

/* Professional Global Footer */
.site-footer-mk {
    background-color: #000;
    color: #fff;
    padding: 80px 5% 40px;
    font-family: var(--font-main);
    border-top: 1px solid #333;
    margin-top: 0;
    /* Changed from 60px to 0 for global fit */
}

.mk-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.mk-footer-col h3.footer-logo-mk {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.mk-footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.mk-footer-col h4 {
    font-size: 1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #fff;
}

.mk-footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 1px;
    background-color: #fff;
}

.mk-footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mk-footer-col ul li::before {
    display: none !important;
}

.mk-footer-col ul li {
    margin-bottom: 12px;
}

.mk-footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.mk-footer-col ul li a:hover {
    color: #fff;
}

.mk-footer-newsletter {
    display: flex;
    gap: 10px;
}

.mk-footer-newsletter input {
    background: transparent;
    border: 1px solid #444;
    padding: 10px 15px;
    color: #fff;
    flex-grow: 1;
    font-size: 0.85rem;
    outline: none;
}

.mk-footer-newsletter button {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.mk-footer-newsletter button:hover {
    background: #ccc;
}

.mk-footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mk-footer-bottom p {
    font-size: 0.8rem;
    color: #777;
}

.footer-payments-mk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: #999;
}

@media (max-width: 991px) {
    .mk-footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .mk-footer-container {
        grid-template-columns: 1fr;
    }

    .mk-footer-bottom {
        text-align: center;
        flex-direction: column;
    }
}

/* Promotional Bar */
.mk-promo-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
    z-index: 10001;
    position: relative;
}

@media (max-width: 767px) {
    .mk-promo-bar {
        font-size: 0.6rem;
        padding: 10px 15px;
        letter-spacing: 1px;
        line-height: 1.5;
    }
}

/* Header Customization */
.mk-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 4%;
    background: #fff;
    position: relative;
    /* Fixed for search bar overlay */
}

.mk-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 24px;
    z-index: 10;
}

.mk-menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: #000;
}

.mk-header-left {
    padding-left: 15px;
    padding-right: 15px;
}

.mk-header-left .toggle-sidebar-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 100;
}

.mk-header-left .toggle-sidebar-menu-btn i::before {
    font-size: 24px;
    color: #000;
}

.mk-header-center {
    flex: 2;
    text-align: center;
}

.mk-header-center .site-branding img {
    max-height: 40px;
    width: auto;
}

.mk-header-right {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.site-header {
    border-bottom: 1px solid var(--divider-color);
}

/* Side Menu Styling */
.sidebar-menu {
    background: #fff !important;
    width: 350px !important;
    max-width: 85vw !important;
}

.mk-side-menu {
    padding: 100px 30px 40px;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    position: relative;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    color: #000;
}

.mk-side-menu a {
    color: #000 !important;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.mk-side-menu .uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mk-side-menu-header h3 {
    font-size: 1.4rem;
    margin-bottom: 50px;
    letter-spacing: 3px;
    font-weight: 300;
}

.mk-side-collections {
    list-style: none;
    padding: 0;
    margin: 0 0 60px 0;
}

.mk-side-collections li {
    margin-bottom: 25px;
}

.mk-side-collections a {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
    color: #000;
    transition: var(--transition-smooth);
}

.mk-side-collections a:hover {
    padding-left: 10px;
}

.mk-side-search input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    font-size: 0.85rem;
    margin-bottom: 40px;
    outline: none;
    background: transparent;
    letter-spacing: 1px;
}

.mk-side-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.mk-side-links li {
    margin-bottom: 20px;
}

.mk-side-links a {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

.mk-side-links a:hover {
    color: #000;
}

/* Adjustments for default side menu icons/tabs */
.mobile-nav-tab,
.sidebar-account,
.sidebar-menu .woostify-search {
    display: none !important;
}

/* Side Menu Styling Update */
.mk-side-menu-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 99999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.mk-side-menu-container.active {
    left: 0;
    visibility: visible;
}

.mk-side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.mk-side-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.mk-logo {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-decoration: none;
    color: #000;
}

.mk-header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 767px) {
    .mk-header-wrapper {
        padding: 5px 4%;
        height: 70px;
    }

    .mk-header-center .site-branding img,
    .mk-logo {
        font-size: 1.1rem;
        max-height: 25px;
    }

    .mk-header-right {
        justify-content: flex-end;
    }
}

/* Related Products MK Style */
.related.products {
    margin-top: 80px;
    padding: 0 4%;
}

.related.products h2 {
    font-size: 1.6rem;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 3px;
    font-weight: 300;
}

.related.products .product-grid-mk {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .related.products .product-grid-mk {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .related.products .product-grid-mk {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Header Search Bar MK Style */
.mk-header-search-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0 20px;
}

.mk-header-search-bar.active {
    opacity: 1;
    visibility: visible;
}

.mk-search-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    position: relative;
    animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mk-search-form-inline {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 2px solid #000;
    /* Made slightly thicker for MK style */
}

.mk-search-form-inline input {
    flex: 1 !important;
    border: none !important;
    background: none !important;
    padding: 15px 0 !important;
    font-size: 1.1rem !important;
    font-family: inherit !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    outline: none !important;
    box-shadow: none !important;
    color: #000 !important;
}

.mk-search-form-inline button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 15px !important;
    color: #000 !important;
    display: flex !important;
    align-items: center !important;
}

.mk-search-close-btn {
    margin-left: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mk-search-close-btn:hover {
    transform: rotate(90deg);
    opacity: 0.7;
}

@media (max-width: 767px) {
    .category-banners {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .category-banner-item {
        height: 350px;
    }

    .related.products .product-grid-mk {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-header-search-bar {
        padding: 0 10px;
    }

    .mk-search-bar-inner {
        max-width: 95%;
    }

    .mk-search-form-inline input {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }

    .mk-search-close-btn {
        margin-left: 10px;
    }
}

.mk-side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.mk-side-menu-close-btn {
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.mk-side-menu-close-btn:hover {
    opacity: 0.6;
}

.mk-side-menu-header h3 {
    margin: 0 !important;
}

/* Promo Bar with WhatsApp Link */
.mk-promo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.mk-promo-text {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.mk-personal-shopper {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.65rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
}

.mk-personal-shopper:hover {
    opacity: 0.7;
    border-bottom-color: #fff;
}

@media (max-width: 991px) {
    .mk-promo-container {
        flex-direction: column;
        padding: 5px 0;
    }
    .mk-personal-shopper {
        position: static;
        margin-top: 5px;
    }
}

/* Product Page Padding Adjustments */
.product-page-container {
    padding-left: 7% !important;
    padding-right: 7% !important;
}

.single-product .content-top {
    padding-top: 2% !important;
    padding-left: 7% !important;
    padding-right: 7% !important;
}

/* My Account & Cart Responsive Improvements */
@media (max-width: 767px) {

    /* My Account Navigation Grid */
    .woocommerce-MyAccount-navigation ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 8px !important;
        list-style: none !important;
    }

    .woocommerce-MyAccount-navigation ul li {
        margin: 0 !important;
        border: 1px solid #eee !important;
        text-align: center !important;
    }

    .woocommerce-MyAccount-navigation ul li a {
        display: block !important;
        padding: 15px 5px !important;
        font-size: 0.7rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        color: #000 !important;
        text-decoration: none !important;
    }

    .woocommerce-MyAccount-navigation ul li.is-active {
        background: #000 !important;
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        color: #fff !important;
    }

    .woocommerce-MyAccount-content {
        padding: 20px 8px !important;
    }

    /* Cart Page Improvements */
    .woocommerce-cart .entry-content {
        padding: 0 8px !important;
    }

    .woocommerce-cart table.cart td.actions .coupon {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .woocommerce-cart table.cart td.actions .coupon input {
        width: 100% !important;
        margin: 0 !important;
    }

    .woocommerce-cart table.cart td.actions button[name="update_cart"] {
        background-color: #000 !important;
        color: #fff !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        font-size: 0.75rem !important;
        padding: 12px 20px !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
}

/* Account & Cart Page Container Padding */
.woocommerce-account .container,
.woocommerce-account .woostify-container,
.woocommerce-account .content-area,
.woocommerce-account #primary,
.woocommerce-account .site-main,
.woocommerce-account .site-content,
.woocommerce-cart .container,
.woocommerce-cart .woostify-container,
.woocommerce-cart .content-area,
.woocommerce-cart #primary,
.woocommerce-cart .site-main,
.woocommerce-cart .site-content {
    padding: 15px !important;
}

@media (max-width: 767px) {

    .woocommerce-account .container,
    .woocommerce-account .woostify-container,
    .woocommerce-account .content-area,
    .woocommerce-account #primary,
    .woocommerce-account .site-main,
    .woocommerce-account .site-content,
    .woocommerce-cart .container,
    .woocommerce-cart .woostify-container,
    .woocommerce-cart .content-area,
    .woocommerce-cart #primary,
    .woocommerce-cart .site-main,
    .woocommerce-cart .site-content {
        padding: 10px !important;
    }
}

/* Header Cart Count Badge */
.mk-cart-link {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.mk-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mk-cart-count:empty {
    display: none;
}

/* Checkout Page Premium Stylization */
.woocommerce-checkout .container,
.woocommerce-checkout .woostify-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.woocommerce-checkout .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce-checkout .entry-title {
    font-size: 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    font-weight: 400 !important;
}

/* 2 Column Layout desktop */
@media (min-width: 992px) {
    form.checkout {
        display: flex !important;
        gap: 60px !important;
        align-items: flex-start !important;
        margin-top: 30px !important;
    }

    #customer_details {
        flex: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        width: auto !important;
    }

    #order_review_heading {
        display: none !important;
        /* Hide redundant title */
    }

    #order_review {
        width: 420px !important;
        flex-shrink: 0 !important;
        background: #fcfcfc !important;
        padding: 35px !important;
        border: 1px solid #ebebeb !important;
        float: none !important;
    }
}

/* Standard Field Styling */
.woocommerce-checkout label {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 0 !important;
    border: 1px solid #d1d1d1 !important;
    padding: 14px 15px !important;
    font-size: 0.85rem !important;
    background-color: #fff !important;
}

.woocommerce-checkout .input-text:focus {
    border-color: #000 !important;
    outline: none !important;
}

.woocommerce-checkout h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-bottom: 1px solid #000 !important;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
}

/* Order Table Styling */
.woocommerce-checkout-review-order-table {
    border: none !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 12px 0 !important;
    font-size: 0.85rem !important;
    color: #1a1a1a !important;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 400 !important;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .order-total th {
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

/* Payment Methods */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid #eee !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

#payment div.payment_box {
    background: #f5f5f5 !important;
    font-size: 0.8rem !important;
    color: #666 !important;
    border-radius: 0 !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Place Order Button */
#place_order {
    background-color: #000 !important;
    color: #fff !important;
    width: 100% !important;
    padding: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    border-radius: 0 !important;
    border: none !important;
    transition: background 0.3s ease !important;
    margin-top: 10px !important;
}

#place_order:hover {
    background-color: #333 !important;
}

/* Select2 Customization (If active) */
.select2-container--default .select2-selection--single {
    border-radius: 0 !important;
    height: 48px !important;
    border: 1px solid #d1d1d1 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 15px !important;
    font-size: 0.85rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

/* Mobile Adjustments */
@media (max-width: 991px) {

    .woocommerce-checkout .container,
    .woocommerce-checkout .woostify-container {
        padding: 20px 15px !important;
    }

    #order_review {
        margin-top: 40px !important;
        background: #fff !important;
        border: 1px solid #eee !important;
        padding: 20px !important;
    }
}