/*
Theme name: Webshop Project
Author: Team CodersForLife
Version: 1.0
Description: A custom WordPress theme for an online pet webshop + its blog.
*/

:root {
  --color-primary: #1C3361;
  --color-secondary: #175735;
  --color-accent: #74B24B;
  --color-light-blue: #78BDE8;
  --color-light: #F4F4F4;
  --color-dark: #1D1D1D;
  --color-header-bg: #efefef;
  --font-headers: 'Aquavit', sans-serif;
  --font-body: 'Skolar Sans', sans-serif;  
  --font-accent: 'Bodoni MT', serif;
}

.body {
  background-color: var(--color-light);
  color: var(--color-dark);
}




/* language picker flags ICONS */

.lang-item-en img {
    content: url('../icons/united-kingdom-flag.svg');
}

.lang-item-de img {
    content: url('../icons/germany-flag.svg');
}

.lang-item-en img,
.lang-item-de img {
    width: 2rem!important;
    height: auto !important;
}

/* font sizes*/



.text-responsive-xl {
    font-size: clamp(1.75rem, 4vw, 3rem); /* Large headings */
}

.text-responsive-lg {
    font-size: clamp(1.5rem, 3vw, 2.25rem); /* Medium headings */
}

.text-responsive-md {
    font-size: clamp(1.25rem, 2.5vw, 1.375rem); /* Small headings */
}

.text-responsive-base {
    font-size: clamp(1rem, 2vw, 1.125rem); /* Body text */
}

.text-responsive-sm {
    font-size: clamp(0.875rem, 1.5vw, 1rem); /* Small text */
}

.text-responsive-xs {
    font-size: clamp(0.75rem, 1vw, 0.875rem); /* Very small text */
}



/*Reviews*/

.reviews {
  text-align: center;
  padding: 50px 0;
}

.reviews-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 250px;
  text-align: left;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.review-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-name {
  /* font-size: 18px; */
  /* font-weight: 600; */
  color: var(--color-dark);
  margin: 0;
}

.reviews p {
  /* font-size: 14px; */
  color: var(--color-dark);
  margin-bottom: 10px;
} 

.stars {
  color: green;
  font-size: 20px;
  margin-top: 10px;
}

.page-title {
    display: none !important;
}


/*
woocommerce
 1. MAIN PRODUCT GRID LAYOUT */
 .page-title {
    display: none !important;
}
.woocommerce ul.products li.product .price + span {
  display: none !important;
}
.woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin: 15 -8px !important;
    font-family: "Skolar Sans", sans-serif !important;
}

/* 2. PRODUCT BOX */
.woocommerce ul.products li.product {
    width: calc(25% - 20px) !important;
    margin: 5px 10px 25px 10px !important; 
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    clear: none !important;

    /* Styling */
    background-color: #1C3361
			!important;
    color: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2) !important;
}

/* 3. RESET FLOATS */
.woocommerce ul.products li.product:nth-child(4n+1) {
    clear: none !important;
}

/* 4. UNIVERSAL CHILD ELEMENT FIX */
.woocommerce ul.products li.product * {
    box-sizing: border-box !important;
    max-width: 100% !important;
    clear: none !important;
    text-align: center !important;
    font-family: "Skolar Sans", sans-serif !important;
}

/* 5. INNER LINK WRAPPER */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background-color: #1C3361
			!important;
}

/* 6. PRODUCT IMAGE */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 180px !important; 
    object-fit: cover !important; 
    display: block !important;
    background-color: #f7f7f7 !important;
}

/* 7. PRODUCT TITLE */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 8px 10px 6px 10px !important;
    color: #ffffff !important;
    background-color: transparent !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* 8. PRICE */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price * {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 10px 8px 10px !important; 
    color: #ffffff !important;
    background-color: transparent !important;
    margin: 0 !important;
    display: inline !important;
}

.woocommerce ul.products li.product .price {
    display: block !important;
    padding-top: 4px !important;
}

/* 9. SALE BADGE */
.woocommerce ul.products li.product .onsale {
    background: #476cb5 !important;
    color: #f4f4f4 !important;
    border-radius: 35% !important;
    padding: 2px 15px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    top: 20px !important;
    right: 5% !important;
    position: absolute !important;
    z-index: 10 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    animation: simplePulse 2s ease-in-out infinite !important;
}


@keyframes simplePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* 10. ADD TO CART BUTTON */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #1C3361 !important;
    font-weight: 600 !important;
    border-radius: 10rem !important;
    padding: 20px 15px !important;
    margin: 8px auto 12px auto !important;
	border: 2px solid #1C3361;
    text-transform: uppercase !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background-color: #1C3361
			!important;
    color: #ffffff !important;
	border:2px solid #ffffff
}


/* SINGLE PRODUCT PAGE */

/* 1. GLOBAL LAYOUT & CONTAINER */
.single-product div.product {
    padding: 50px 50px; 
    background-color: #f7f7f7; 
    font-family: "Skolar Sans", sans-serif; 
}

.woocommerce-page #content, .woocommerce-page .site-content {
    padding: 20px; 
}


/* 2. PRODUCT SUMMARY (Right Side) */
.single-product div.product .summary {
    background-color: transparent;
    padding: 50px;
}

/* Product Title */
.single-product div.product .product_title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 5px;
}

.woocommerce .price,
.woocommerce .price a,
.woocommerce .price span,
.woocommerce .price bdi,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount bdi,
.woocommerce .woocommerce-Price-currencySymbol {
  text-decoration: none !important;
  border-bottom: none !important; /* Some themes use border-bottom instead of underline */
}


/* 3.  Shop Tagline/Short Description Area */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Price */
.single-product div.product p.price, 
.single-product div.product span.price {
    font-size: 26px;
    font-weight: 700;
    color: #222; /* Primary text color */
    margin: 15px 0 20px 0;
}

/* 4. QUANTITY INPUT STYLES */
.woocommerce div.product form.cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    height: 40px;
}

.woocommerce div.product form.cart .quantity .qty {
    width: 40px;
    height: 100%;
    text-align: center;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 40px; 
    font-size: 16px;
}

/* Quantity buttons (+ and -) */
.woocommerce div.product form.cart .quantity input[type="button"] {
    background-color: #fff;
    color: #1C3361;
    border: 2px solid !important;
    padding: 0 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    height: 100%;
    
}

.woocommerce div.product form.cart .quantity input[type="button"]:hover {
    background-color: #eee;
}

.single-product .product > .onsale {
    
    /* Shape, Color, Font (Your desired style) */
    background-color: #476cb5!important;
    color: #f4f4f4 !important;
    border-radius: 100px !important;
    padding: 8px 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    
    /* Positioning to Top-Right */
    top: 20px !important; 
    right: 20px !important; 
    left: auto !important; 
    
    /* Display properties */
    position: absolute !important;
    z-index: 10 !important;
    
    /* Optional clean-up */
    min-width: unset !important;
    min-height: unset !important;
    text-align: center !important;
    line-height: 1.2 !important;
    display: inline-block !important; 
}

/* 5. ADD TO CART BUTTON */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center; 
    margin-bottom: 30px;
}

.woocommerce button.single_add_to_cart_button {
    /* Use the blue color from your product grid */
    background-color: #1C3361 !important; 
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    border-radius: 5rem !important;
    padding: 10px 25px;
    font-size: 16px;
    line-height: 20px; 
    height: 40px;
    transition: background-color 0.3s;
}

.woocommerce button.single_add_to_cart_button:hover {
    background-color: #ffffff !important;
	border: 2px solid #1C3361  !important;
	color: #1C3361 !important;
}


/* 6. PRODUCT IMAGE GALLERY & THUMBNAILS */
.single-product div.product .woocommerce-product-gallery {
    width: 50%; 
}

/* Thumbnail wrapper alignment */
.single-product div.product .woocommerce-product-gallery__wrapper {
    flex-direction: column; 
}

/* Thumbnail layout (The 3 small squares in your prototype) */
.flex-control-nav.flex-control-thumbs {
    display: flex;
    justify-content: flex-start; /* Align left */
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.flex-control-nav.flex-control-thumbs li {
    margin-right: 10px;
}
.flex-control-nav.flex-control-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
    opacity: 0.7;
    transition: all 0.2s;
}
.flex-control-nav.flex-control-thumbs img.flex-active,
.flex-control-nav.flex-control-thumbs img:hover {
    opacity: 1;
    border-color: #1C3361; 
}


/* 7. PRODUCT DATA TABS (Description, Advice, Pick up) */
.woocommerce-tabs {
    margin-top: 50px;
}

/* Tab Navigation Styling */
.woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #ddd;
}

.woocommerce-tabs ul.tabs li {
    background-color: transparent;
    border: none;
    margin-right: 30px;
    padding: 0 0 10px 0;
    position: relative;
    top: 2px;
    font-size: 16px;
    font-weight: 500;
}

/* Active Tab Underline (Matches prototype line) */
.woocommerce-tabs ul.tabs li.active {
    border-bottom: 3px solid #1C3361; 
    font-weight: 600;
    color: #1C3361;
}

.woocommerce-tabs ul.tabs li a {
    text-decoration: none;
    color: inherit;
    padding: 0;
}

/* Tab Panel Content Styling */
.woocommerce-tabs .panel {
    padding: 30px 0;
    background-color: transparent;
    border: none;
    line-height: 1.7;
    font-size: 15px;
    color: #333;
}
.woocommerce-tabs .panel p {
    margin-bottom: 15px;
}

.related.products {
    margin-top: 40px;
}



/* Fix for the Related Products title */
.related.products h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}



/*RESPONSIVNESS*/
/* Tablet (less than 1024px) */
@media (max-width: 1024px) {
    /* 1. Main Container Padding */
    .single-product div.product {
        padding: 30px 20px; 
    }

    /* 2. Layout Stack (Image on top, Summary below) */
    .woocommerce div.product {
        display: block; 
    }

    /* Image Gallery (Left Side) */
    .single-product div.product .woocommerce-product-gallery {
        width: 100%; /* Full width for the image */
        margin-right: 0;
        margin-bottom: 20px; 
        padding: 0; 
    }

    /* Main Image Wrapper Padding */
    .single-product div.product .woocommerce-product-gallery__wrapper {
        padding: 10px; 
        margin-left: 0;
        margin-right: 0;
    }

    /* Product Summary (Right Side - now full width) */
    .single-product div.product .summary {
        width: 100%;
        padding: 0; 
    }

    /* Tab Navigation */
    .woocommerce-tabs ul.tabs li {
        margin-right: 20px; /* Tighten up tab spacing */
        font-size: 15px;
    }
}


/* Mobile (less than 768px) */
@media (max-width: 767px) {
    /* 1. Main Container Padding */
    .single-product div.product {
        padding: 20px 10px; 
    }

    /* 2. Product Title */
    .single-product div.product .product_title {
        font-size: 28px;
        line-height: 1.2;
    }

    /* 3. Price */
    .single-product div.product p.price,
    .single-product div.product span.price {
        font-size: 22px;
        margin: 10px 0 15px 0;
    }

    /* 4. Quantity & Add to Cart (Force stacking) */
    .woocommerce div.product form.cart {
        flex-direction: column; 
        align-items: stretch;
    }

    /* Quantity Box */
    .woocommerce div.product form.cart .quantity {
        width: 100%;
        max-width: 150px; 
        margin: 0 auto 15px auto; 
    }

    /* Add to Cart Button */
    .woocommerce button.single_add_to_cart_button {
        width: 100%; 
        max-width: none;
        margin-top: 5px;
    }
    
    .wishlist-button-wrap {
        text-align: center;
        margin-top: 15px;
    }
    .wishlist-button-wrap a.wishlist-icon {
        margin-left: 0;
    }


    /* 5. Tabs */
    .woocommerce-tabs {
        margin-top: 30px;
    }
    .woocommerce-tabs ul.tabs {
        display: block; 
        border-bottom: none;
    }
    .woocommerce-tabs ul.tabs li {
        width: 100%;
        margin: 0 0 1px 0; 
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
        background-color: #fff;
    }

    /* Active Tab */
    .woocommerce-tabs ul.tabs li.active {
        border-bottom: 1px solid #1C3361; 
        color: #1C3361;
    }
    .woocommerce-tabs ul.tabs li.active::before,
    .woocommerce-tabs ul.tabs li.active::after {
        display: none; 
    }

    /* Tab Content Padding */
    .woocommerce-tabs .panel {
        padding: 20px 0;
    }
}


/* Tablet (768px – 1024px) */
@media (max-width: 1024px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 20px) !important; /* 2 products per row */
        margin: 5px 10px 20px 10px !important;
    }

    .woocommerce ul.products li.product img {
        height: 160px !important; 
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px !important;
        padding: 6px 8px 4px 8px !important;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce ul.products li.product .price * {
        font-size: 14px !important;
        padding: 0 8px 6px 8px !important;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .add_to_cart_button {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* Mobile (less than 768px) */
@media (max-width: 767px) {
    .woocommerce ul.products {
        margin: 0 -5px !important; 
    }

    .woocommerce ul.products li.product {
        width: calc(100% - 10px) !important; 
        margin: 5px 5px 20px 5px !important;
    }

    .woocommerce ul.products li.product img {
        height: 140px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
        padding: 5px 6px 3px 6px !important;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce ul.products li.product .price * {
        font-size: 13px !important;
        padding: 0 6px 5px 6px !important;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .add_to_cart_button {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* Optional: Reduce sale badge size on mobile */
    .woocommerce ul.products li.product .onsale {
        font-size: 12px !important;
        padding: 2px 10px !important;
        top: 12px !important;

    }
}


/* Hide accidental "ssss" text anywhere inside WooCommerce product cards */
.woocommerce ul.products li.product span,
.woocommerce ul.products li.product div,
.woocommerce ul.products li.product p {
  color: inherit;
}

/* More targeted hiding — looks for "ssss" content via attribute or pseudo-element */
.woocommerce ul.products li.product *::before,
.woocommerce ul.products li.product *::after {
  content: none !important;
}

/* If "ssss" is a stray element with no class */
.woocommerce ul.products li.product {
  font-family: "Skolar Sans", sans-serif !important;
}
.woocommerce ul.products li.product:has(span:empty),
.woocommerce ul.products li.product span:empty {
  display: none !important;
}

/* FINAL FORCE HIDE (temporary but effective) */
.woocommerce ul.products li.product {
  position: relative;
}
.woocommerce ul.products li.product:after {
  content: "";
  display: block;
  color: transparent;
}
/* ================================================= */
/* === MENU ACTIVE SWITCH: BLOG to PETS (Shop) === */
/* ================================================= */

/* 1. FORCE THE "PETS" LINK TO BE ACTIVE ON SHOP/PRODUCT PAGES */
body.woocommerce a[href*="/shop"] {
    border-bottom: 4px solid #1C3361 !important; 
    margin-bottom: -6px !important;              
    padding-bottom: 2px !important;              
    color: #1D1D1D !important;
}

/* 2. REMOVE THE ACTIVE STYLE FROM THE 'BLOG' LINK */
body.woocommerce a[href*="/blog"] {
    border-bottom: 4px solid transparent !important; /* Removes the border */
    margin-bottom: 0 !important;
    padding-bottom: 2px !important;

    color: #1D1D1D !important;
}




/* Woocomerce - CART page*/
@media (min-width: 1024px) {
    /* Targets the main WooCommerce container to create the 2-column grid */
    .woocommerce-cart .woocommerce,
    .woocommerce-cart .entry-content,
    .woocommerce-cart article .entry-content {
        display: grid;
        grid-template-columns: 2fr 1fr; /* 2/3 for the cart, 1/3 for the totals */
        grid-gap: 30px; 
        align-items: flex-start;
    }

    /* Assign the cart form to the left column */
    .woocommerce-cart .woocommerce-cart-form {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    /* Assign the totals box to the right column */
    .woocommerce-cart .cart-collaterals {
        grid-column: 2 / 3;
        grid-row: 1;
        margin-top: 0; 
    }
}


/* Cart Table Styling */
.woocommerce-cart-form table.shop_table {
    border: 1px solid #e5e5e5 !important;
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-cart-form thead {
    display: table-header-group; 
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}
.woocommerce-cart-form thead th {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85em;
    color: #555;
    padding: 10px 15px;
    border: none;
    line-height: 1.2;
}

/* Row Styling*/
.woocommerce-cart-form tbody tr.cart_item {
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.woocommerce-cart-form tbody tr.cart_item:last-child {
    border-bottom: none;
}

.woocommerce-cart-form tr.cart_item td {
    padding: 15px;
    border: none;
    line-height: 1.4;
}

/* Product Image Column */
.woocommerce-cart-form td.product-thumbnail {
    width: 100px; 
    padding-left: 15px;
}
.woocommerce-cart-form td.product-thumbnail img {
    width: 80px; 
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* Product Name Column */
.woocommerce-cart-form td.product-name {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    width: 100%; 
}
.woocommerce-cart-form td.product-name a {
    font-size: 1em; 
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.woocommerce-cart-form td.product-name dl {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

/* Price (Unit Price) */
.woocommerce-cart-form td.product-price {
    font-weight: 600;
    color: #333;
    text-align: center;
    width: 100px;
}


.woocommerce-cart-form td.product-quantity {
    text-align: center;
    width: 120px;
}
.woocommerce-cart-form td.product-quantity .quantity {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 100px;
    margin: 0 auto;
    overflow: hidden;
}
.woocommerce-cart-form td.product-quantity .quantity input[type="button"] {
    background: #f7f7f7;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    font-size: 1.2em;
    line-height: 1; 
    color: #333;
}
.woocommerce-cart-form td.product-quantity .quantity .qty {
    border: none;
    text-align: center;
    width: 35px;
    font-size: 1em;
    font-weight: 600;
    padding: 5px 0;
}

/* Subtotal Column */
.woocommerce-cart-form td.product-subtotal {
    font-weight: 700;
    font-size: 1em;
    color: #222;
    text-align: right;
    width: 100px;
}

/* Remove Button Column */
.woocommerce-cart-form td.product-remove {
    text-align: right;
    width: 30px;
    padding-right: 15px;
    align-items: center;
}
.woocommerce-cart-form td.product-remove a.remove {
    font-size: 1.3em;
    color: #aaa;
    text-decoration: none;
}
.woocommerce-cart-form td.product-remove a.remove:hover {
    color: #ff0000;
}

/* Cart Totals Box */
.cart-collaterals .cart_totals {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.cart-collaterals .cart_totals h2 {
    font-family: Aquavit, sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Total Rows */
.cart-collaterals .cart_totals table {
    width: 100%;
    border: none;
}
.cart-collaterals .cart_totals th {
    text-align: left;
    font-weight: 500;
    color: #444;
    padding: 5px 0;
    border: none;
}
.cart-collaterals .cart_totals td {
    text-align: right;
    font-weight: 600;
    color: #222;
    padding: 5px 0;
    border: none;
}

.cart-collaterals .cart_totals .order-total {
    font-size: 1.1em;
}
.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
    font-weight: 700;
    color: #000;
    padding-top: 10px;
    border-top: 2px solid #ddd;
}


.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    background-color: #1C3361; 
    color: #ffffff !important; 
    border: 2px solid #1C3361 !important;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px !important;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #f4f4f4 !important; 
    color: #1C3361 !important;
    border: 2px solid #1C3361 !important;  
}

.cart-collaterals .coupon {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    background: #ffffff; 
    border-radius: 4px;
}
.cart-collaterals .coupon label {
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
    margin-bottom: 5px;
    display: block;
}
.cart-collaterals .coupon input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.cart-collaterals .coupon button.button {
    background-color: #1C3361 !important; 
    border-radius: 50px !important;
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px !important;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.cart-collaterals .coupon button.button:hover {
    background-color: #f4f4f4 !important; 
    color: #1C3361 !important;
    border: 2px solid #1C3361 !important; 
}


/* ========================================================= */
/* BASE STYLING & COLORS */
/* ========================================================= */

.woocommerce-account {
    max-width: 1100px; 
    margin: 3em auto;
    padding: 0 15px;
}

/* Headings and Main Text */
.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: 'Bodoni MT', serif;
    color: #1C3361; /* Primary Brand Color for headings */
    margin-bottom: 0.8em;
}


/* ========================================================= */
/* 1. Cart Table Structure */
/* ========================================================= */

.woocommerce-cart-form table.shop_table {
    border: 1px solid #e5e5e5;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2em;
    background-color: #ffffff; /* Explicit background for the table area */
}

/* Table Head */
.woocommerce-cart-form thead {
    display: table-header-group; 
    background: #f7f7f7;
    border-bottom: 2px solid #e5e5e5; /* Slightly thicker header separator */
}
.woocommerce-cart-form thead th {
    font-weight: 600; /* Bolder for clarity */
    text-transform: uppercase;
    font-size: 0.8em; /* A little smaller for cleaner look */
    color: #555;
    padding: 12px 15px;
    border: none;
    line-height: 1.2;
}

/* Table Body - Row Styling */
.woocommerce-cart-form tbody tr.cart_item {
    border-bottom: 1px solid #f0f0f0; /* Softer row separator */
    vertical-align: middle;
}
.woocommerce-cart-form tbody tr.cart_item:last-child {
    border-bottom: none;
}

.woocommerce-cart-form tr.cart_item td {
    padding: 15px;
    border: none;
    line-height: 1.4;
}

/* ========================================================= */
/* 2. Column Specific Styling */
/* ========================================================= */

/* Remove Button Column */
.woocommerce-cart-form td.product-remove {
    text-align: right;
    width: 30px;
    padding-right: 15px;
}
.woocommerce-cart-form td.product-remove a.remove {
    font-size: 1.2em; /* Slightly larger remove button */
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}
.woocommerce-cart-form td.product-remove a.remove:hover {
    color: #cc0000; /* Stronger red on hover */
}

/* Product Image Column */
.woocommerce-cart-form td.product-thumbnail {
    width: 100px; 
    padding-left: 15px;
}
.woocommerce-cart-form td.product-thumbnail img {
    width: 70px; /* Consistent image size */
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Product Name Column */
.woocommerce-cart-form td.product-name {
    padding-left: 0;
    /* Removed flex properties to ensure natural table flow */
}
.woocommerce-cart-form td.product-name a {
    font-size: 1em; 
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce-cart-form td.product-name a:hover {
    color: #0088cc; /* Match button hover color for consistency */
}
.woocommerce-cart-form td.product-name dl {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

/* Price (Unit Price) */
.woocommerce-cart-form td.product-price {
    font-weight: 600;
    color: #333;
    text-align: right; /* Aligned right for consistency with subtotal */
    width: 100px;
}

/* Quantity Column */
.woocommerce-cart-form td.product-quantity {
    text-align: center;
    width: 120px;
}
.woocommerce-cart-form td.product-quantity .quantity {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 100px;
    margin: 0 auto;
    overflow: hidden;
}
/* Quantity buttons (if present - otherwise these target default number input buttons) */
.woocommerce-cart-form td.product-quantity .quantity input[type="button"] {
    background: #f7f7f7;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    font-size: 1.2em;
    line-height: 1; 
    color: #333;
    transition: background 0.2s;
}
.woocommerce-cart-form td.product-quantity .quantity input[type="button"]:hover {
    background: #e5e5e5;
}
.woocommerce-cart-form td.product-quantity .quantity .qty {
    border: none;
    text-align: center;
    width: 35px; /* Fixed width for text area */
    flex-grow: 1; /* Allows the input field to fill available space */
    font-size: 1em;
    font-weight: 600;
    padding: 5px 0;
    box-shadow: none !important; /* Remove any default focus/shadows */
}

/* Subtotal Column */
.woocommerce-cart-form td.product-subtotal {
    font-weight: 700;
    font-size: 1.05em; /* Slightly larger to emphasize subtotal */
    color: #222;
    text-align: right; /* Aligned right */
    width: 100px;
}

/* ========================================================= */
/* 3. Actions Row (Coupon and Update) */
/* ========================================================= */

.woocommerce-cart-form tr.cart_item.actions {
    border-top: 1px solid #e5e5e5;
    background: #fdfdfd;
}
.woocommerce-cart-form td.actions {
    text-align: right;
    padding: 20px 15px;
    border-bottom: none; /* Ensure border is only on top */
}
.woocommerce-cart-form td.actions .coupon {
    float: left;
    margin-right: 20px;
}
.woocommerce-cart-form td.actions .coupon input.input-text {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 150px;
    margin-right: 5px;
}
.woocommerce-cart-form td.actions button.button {
    background: #0088cc; 
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
}
.woocommerce-cart-form td.actions button.button:hover {
    background: #0077b3;
}
.woocommerce-cart-form td.actions button.button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


/* ========================================================= */
/* 4. Cart Totals Area */
/* ========================================================= */

.cart-collaterals .cart_totals {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-top: 20px; /* Separate totals box slightly */
}

.cart-collaterals .cart_totals h2 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    color: #222;
}

/* Total Rows */
.cart-collaterals .cart_totals table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}
.cart-collaterals .cart_totals th {
    text-align: left;
    font-weight: 500;
    color: #444;
    padding: 8px 0;
    border: none;
}
.cart-collaterals .cart_totals td {
    text-align: right;
    font-weight: 600;
    color: #222;
    padding: 8px 0;
    border: none;
}

/* Final Order Total Row */
.cart-collaterals .cart_totals .order-total {
    font-size: 1.1em;
}
.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
    font-weight: 700;
    color: #1C3361; /* Strong color for the final price */
    font-size: 1.2em;
    padding-top: 15px; 
    border-top: 2px solid #ddd;
}


/* Checkout Button */
.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    background-color: #1C3361; 
    color: #ffffff !important; 
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    padding: 15px 20px; /* Increased vertical padding for a taller button */
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(28, 51, 97, 0.2); /* Lift effect */
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #0077b3; /* Consistent hover color */
}

/* ========================================================= */
/* 5. Mobile Responsiveness (Basic) */
/* ========================================================= */

@media screen and (max-width: 768px) {
    /* Hide table headers on smaller screens */
    .woocommerce-cart-form thead {
        display: none;
    }

    /* Stack items vertically */
    .woocommerce-cart-form tr.cart_item {
        display: grid;
        grid-template-columns: 100px 1fr; /* Image on left, Name/Details on right */
        gap: 10px;
        padding-bottom: 20px;
        position: relative;
    }
    
    /* Display data-title for prices and quantity */
    .woocommerce-cart-form tr.cart_item td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
    }

    /* Hide the product-name cell as it is part of the grid flow */
    .woocommerce-cart-form td.product-name {
        grid-column: 2 / 3;
        padding-left: 0;
        padding-top: 0;
        font-weight: 600;
        font-size: 1.1em;
    }

    /* Move Remove button to top right */
    .woocommerce-cart-form td.product-remove {
        position: absolute;
        top: 0;
        right: 0;
        text-align: center;
    }

    /* Product Thumbnail on the left */
    .woocommerce-cart-form td.product-thumbnail {
        grid-column: 1 / 2;
        grid-row: 1 / span 2;
        padding-right: 0;
        padding-top: 15px;
    }

    /* Hide image label on mobile */
    .woocommerce-cart-form td::before {
        content: attr(data-title) ":";
        font-weight: 500;
        color: #555;
        text-transform: uppercase;
        font-size: 0.85em;
    }
    .woocommerce-cart-form td.product-thumbnail::before {
        content: none;
    }

    /* Align Totals on mobile */
    .woocommerce-cart-form td.product-price,
    .woocommerce-cart-form td.product-quantity,
    .woocommerce-cart-form td.product-subtotal {
        grid-column: 1 / 3; /* Span full width under main content */
        justify-content: space-between;
    }
    
    .woocommerce-cart-form td.product-quantity .quantity {
        margin-left: auto;
        margin-right: 0;
    }
    
    /* Actions Row */
    .woocommerce-cart-form tr.cart_item.actions {
        display: block;
        text-align: center;
    }
    .woocommerce-cart-form td.actions .coupon {
        float: none;
        display: block;
        margin: 0 0 15px 0;
    }
    .woocommerce-cart-form td.actions .coupon input.input-text {
        width: 60%;
    }
}


/* ========================================================= */
/* 1. Checkout Layout and Container Styling */
/* ========================================================= */

/* Main Checkout Form Container */
.checkout.woocommerce-checkout {
    max-width: 1200px;
    margin: 0 auto 3em;
    padding: 0 15px;
}

/* Two-Column Structure (Billing/Shipping and Order Review) */
.col2-set {
    display: flex;
    flex-wrap: wrap; 
    margin: 0 -15px;
}
.col-1, .col-2 {
    padding: 0 15px;
    min-width: 300px;
}
/* Address/Details (col-1) takes slightly more space on desktop */
.col2-set .col-1 {
    flex: 3; 
}
/* Order Review (col-2) takes slightly less space */
.col2-set .col-2 {
    flex: 2; 
}

/* Section Headings */
.woocommerce-billing-fields h3, 
#ship-to-different-address,
.woocommerce-order-details h3,
#order_review_heading {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    margin-top: 1.5em;
    margin-bottom: 1em;
    padding-bottom: 5px;
    /* Clean, light separator */
    border-bottom: 2px solid #eee; 
}
#order_review_heading {
    margin-top: 0; 
}


/* ========================================================= */
/* 2. Form Field Styling (Inputs, Labels, and Rows) */
/* ========================================================= */

/* General Form Row Styling */
.form-row {
    padding: 0;
    margin-bottom: 15px;
    float: none; 
    width: 100% !important; 
}
.form-row-first, .form-row-last {
    width: 48% !important; 
    margin-right: 4% !important;
    float: left;
    clear: none;
}
.form-row-last {
    margin-right: 0 !important;
}

.form-row-wide {
    clear: both;
    width: 100% !important;
    margin-right: 0 !important;
}

/* Field Label Styling */
.form-row label {
    font-weight: 600;
    color: #444;
    font-size: 0.95em;
    margin-bottom: 5px;
    display: block;
}

/* Required field asterisk */
.form-row .required {
    color: #dc3545; 
    margin-left: 3px;
    font-weight: 400;
}

/* Input/Select/Textarea Styling */
.input-text, .select2-container, select {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
}
/* Focus Effect using your Primary Brand Color */
.input-text:focus, .select2-container--open .select2-selection--single, select:focus {
    border-color: #1C3361; /* Primary color focus effect */
    box-shadow: 0 0 0 3px rgba(28, 51, 97, 0.1);
    outline: none;
}

/* Select2 Dropdown Styling (for Country/State) */
.select2-container--default .select2-selection--single {
    height: auto; 
    border: 1px solid #ccc;
    border-radius: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 12px 15px;
    color: #333;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 15px;
}


/* ========================================================= */
/* 3. Shipping Checkbox */
/* ========================================================= */

#ship-to-different-address {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 1em;
    margin-bottom: 1em;
}
#ship-to-different-address-checkbox {
    margin-right: 8px;
    position: relative;
    top: 1px;
}
.woocommerce-shipping-fields .shipping_address {
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

/* ========================================================= */
/* 4. Order Review Table (Order Summary) */
/* ========================================================= */

#order_review {
    /* Uses your secondary/background color for the review box */
    background-color: #f7f7f7; 
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* Order Review Table */
#order_review table.shop_table {
    width: 100%;
    border: none;
    margin-bottom: 20px;
    background: none; 
    border-collapse: separate; 
    border-spacing: 0;
}

/* Table rows/cells */
#order_review table.shop_table th,
#order_review table.shop_table td {
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.4;
}
#order_review table.shop_table tr:last-child th,
#order_review table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Titles and Values */
#order_review table.shop_table th {
    text-align: left;
    font-weight: 500;
    color: #555;
    width: 60%;
}
#order_review table.shop_table td {
    font-weight: 600;
    color: #333;
    width: 40%;
}

/* Final Order Total Row */
#order_review .order-total {
    border-top: 2px solid #ddd;
    margin-top: 10px;
}
#order_review .order-total th,
#order_review .order-total td {
    font-size: 1.3em;
    font-weight: 700;
    /* Uses your Primary Brand Color for the final price */
    color: #1C3361; 
    padding-top: 15px;
}



/* ========================================================= */
/* 5. Payment Methods and Place Order Button */
/* ========================================================= */

.woocommerce-checkout-payment {
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Place Order Button */
#place_order {
    display: block;
    width: 100%;
    /* Uses your Primary Brand Color for the button */
    background-color: #1C3361; 
    color: #ffffff; 
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    padding: 15px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(28, 51, 97, 0.3); 
}
#place_order:hover {
    /* Consistent hover color based on your brand blue */
    background-color: #0077b3; 
    box-shadow: 0 6px 12px rgba(28, 51, 97, 0.4);
}
#place_order:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Payment Method List (Radio buttons) */
.woocommerce-checkout-payment ul.wc_payment_methods {
    list-style: none outside;
    padding: 0;
    margin: 15px 0;
}
.woocommerce-checkout-payment ul.wc_payment_methods li {
    background: #ffffff;
    padding: 10px 15px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.woocommerce-checkout-payment .payment_box {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 0.9em;
}


/* ========================================================= */
/* 6. Mobile Responsiveness (Stacking Columns) */
/* ========================================================= */

@media screen and (max-width: 768px) {
    /* Stack the columns vertically */
    .col2-set {
        flex-direction: column;
    }
    .col-1, .col-2 {
        padding: 0;
        margin-bottom: 20px;
        flex: 100% !important;
        width: 100% !important;
        min-width: unset;
    }

    /* Stack half-width fields */
    .form-row-first, .form-row-last {
        width: 100% !important;
        margin-right: 0 !important;
        float: none;
    }
}


/* ========================================================= */
/* 1. GLOBAL FULL-WIDTH OVERRIDE */
/* ========================================================= */

.woocommerce-account { 
    max-width: none !important; 
    margin: 0 !important;
    padding: 0 !important; 
}

/* Base Headings and Text Fonts/Colors */
.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: 'Bodoni MT', serif; 
    color: #1C3361;
    margin-bottom: 0.8em;
}

/* ========================================================= */
/* 2. MY ACCOUNT NAVIGATION (THE MENU/TABS) */
/* ========================================================= */

/* Main Navigation Container */
.woocommerce-MyAccount-navigation {
    background-color: #f7f7f7; /* Secondary Background Color */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px; 
    border: 1px solid #e0e0e0;
}

/* List Items (Individual Tabs) */
.woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #eaeaea; /* Light separator */
}
.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

/* Navigation Links */
.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 10px;
    color: #1C3361; /* Primary Color for links */
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    font-family: 'Bodoni MT', serif; 
    letter-spacing: 0.5px;
}

/* Hover/Focus Effect */
.woocommerce-MyAccount-navigation a:hover {
    background-color: #e8e8e8;
    color: #1C3361; 
}

/* Active/Current Link Styling */
.woocommerce-MyAccount-navigation li.is-active a {
    background-color: #1C3361; /* Primary Brand Color */
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
}
/* Logout Link Styling */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #dc3545; 
    font-family: sans-serif; 
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background-color: #fcebeb;
}


/* ========================================================= */
/* 3. CONTENT AREA STYLING (Forms, Tables, Text) */
/* ========================================================= */

.woocommerce-MyAccount-content {
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
}

.woocommerce-account .addresses {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Each address box */
.woocommerce-account .addresses .address {
    flex: 1 1 300px;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 25px 20px 20px 20px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    min-width: 250px;
}

.woocommerce-account .woocommerce-Address address {
  font-style: normal;       
  color: #333 !important;                
  line-height: 1.6;            
  font-size: 20px;         
  margin: 10px 0 0 0;          
}


/* Title styling (Billing/Shipping) */
.woocommerce-account .addresses .title {
    font-family: 'Bodoni MT', serif;
    margin-top: 10px;
    color: #1C3361;
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 15px;
    display: block;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    margin-bottom: 10px;
    font-size: 1.5em !important;
    margin-left: 25px !important;

   

}


.woocommerce-account .addresses .address .edit {
    display: block;
    width: 100%;
    margin: 18px 0 0 0;
    text-align: center;
    float: none !important;
    position: static !important;
}



/* Forms (Login, Registration, Account Details) */
.woocommerce form input.input-text,
.woocommerce form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    color: #1D1D1D;
    background-color: #ffffff;
}
.woocommerce form .form-row label {
    font-weight: 600;
    color: #1C3361;
}

/* Primary Buttons (Login, Register, Save Changes) */
.woocommerce-button, 
.woocommerce .button {
    background-color: #1C3361 !important; /* Primary Brand Color */
    color: #ffffff !important;
    padding: 12px 25px !important;
    border-radius: 5rem !important;
    font-weight: 600;
    text-transform: uppercase;
    border: none !important;
    line-height: 1 !important;
    font-family: sans-serif;
    transition: color 0.3s,;
}

.woocommerce-button:hover,
.woocommerce .button:hover {
    background-color: white !important;
    border: 1px solid #1C3361 !important;
    color: #1C3361 !important; 
}



/* TABLE STYLING (Orders, Addresses) */
.woocommerce-orders-table, 
.woocommerce-table--addresses {
    width: 100%;
    border-collapse: collapse;
}
.woocommerce-orders-table th, .woocommerce-orders-table td,
.woocommerce-table--addresses th, .woocommerce-table--addresses td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.woocommerce-orders-table thead th {
    font-weight: 700;
    color: #333;
    background-color: #f7f7f7; 
    padding-left: 10px;
}
/* View Order Button */
.woocommerce-orders-table .button.view {
    background-color: #1C3361 !important;
    padding: 8px 15px !important;
    font-size: 0.9em;
    border-radius: 5rem !important;
}

.woocommerce-orders-table .button.view:hover {
    background-color: white !important;
    border: 1px solid #1C3361 !important;
    color: #1C3361 !important; 
}

.woocommerce-account .addresses .address .edit,
.woocommerce-account .addresses .title .edit {
    background-color: #1C3361 !important;
    color: #ffffff !important;
    padding: 10px 23px !important;
    border-radius: 5rem !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none !important;
    line-height: 1 !important;
    font-family: sans-serif;
    transition: color 0.3s;
    width: auto !important;      /* Let width fit content */
    height: auto !important;     /* Let height fit content */
    word-break: break-word;    
    box-sizing: border-box;
}

.woocommerce-account .addresses .title .edit:hover {
    background-color: white !important;
    border: 1px solid #1C3361 !important;
    color: #1C3361 !important; 


}




/* ========================================================= */
/* 4. MOBILE RESPONSIVENESS AND FULL-WIDTH LAYOUT */
/* ========================================================= */

@media screen and (min-width: 768px) {
    /* Desktop: Two-column layout */
    .woocommerce-account .woocommerce {
        display: flex;
        flex-wrap: nowrap;
    }
    .woocommerce-MyAccount-navigation {
        flex: 0 0 250px; /* Width of the menu */
        padding-right: 30px; 
        margin-right: 0; 
    }
    .woocommerce-MyAccount-content {
        flex-grow: 1;
        padding-left: 20px; 
        padding-right: 20px;
    }
}

@media screen and (max-width: 767px) {
    /* Mobile: Stack the menu and content */
    .woocommerce-MyAccount-navigation {
        padding: 0;
        background: none;
        border: none;
    }
    .woocommerce-MyAccount-navigation ul {
        display: block;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }
}