/*
 Theme Name:     ARLA Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
header.et-l--header {
    position: fixed!important;
    top: 0;
    z-index: 3;
    left: 0;
    right: 0;
    
}
header.et-l--header a {
    text-transform: uppercase;
    font-size: 15px;
    
}
#top-menu li a {
    font-weight: 300!important;
}
#top-menu li li {
    padding: 0!important;
    margin: 0!important;
    width: 100%;
}
#top-menu li li a {
    width: 100%;
    margin: 0!important;
    
}
#main-header {
    backdrop-filter: blur(10px);
    background-color: #dcdcdc83;
    border-bottom: solid 1px #ffffff;
}
/* #main-header #logo {
    max-height: 90%!important;;
 } */
/* Safari-only logo fix */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        #main-header #logo {
            max-height: 54%;
            width: auto;
            object-fit: contain;
        }
    }
}
 
#main-header li a {
    text-transform: uppercase!important;
    font-size: 15px!important;
    color: #000000!important;
    
}
.sku_wrapper {
    display: none!important;
}
#main-header li {
    padding:0;
    margin:0;
}
#main-header li a {
    padding: 10px 15px !important;
    margin: 0 0 20px 0;
}
#main-header .signin-btn {

}
#main-header .becomemember-btn a {
    background-color: #082c72!important;
    color: #ffffff!important;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 15px;
}
#main-header.et-fixed-header li a{
margin: 0 0 10px 0;
}
.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 10px!important;
}
#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
    top:8px;
}
.whyarla-blurb {
    transition: box-shadow 0.3s ease;
    border:#b9bfcb solid 1px!important;
    background-color: #ffffff61 !important;
}
.whyarla-blurb:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.whyarla-blurb .et-pb-icon {
    background-color: #c2d4f0;
    border-radius: 5px!important;
        padding: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}
.quick-access-home .et_pb_column .et_pb_blurb{
    padding-top: 20px;
    
}
.quick-access-home .et_pb_column .et_pb_text {
padding-bottom:20px;
}
#visitarla-home .et_pb_column:nth-child(-n+3) {
  border-right: solid 1px;
}

#visitarla-home .et_pb_column:nth-child(-n+3)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.15);
}

@media (min-width: 981px) {
  #visitarla-home .et_pb_column:nth-child(-n+3)::after {
    display: none;
  }
}
/*Footer*/
footer .arla-menu ul li {
    list-style: none;
}
footer .arla-menu ul {
    padding:0!important;
    margin:0!important;
        display: flex;
    flex-direction: column;
}
footer .arla-menu,
footer .arla-menu a {
    color: #ffffff!important;
    font-family: var(--et_global_body_font, 'Roboto', sans-serif)!important;
    font-size: 17px;
    text-decoration: none;
}
footer .arla-menu a {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
    padding-bottom: 2px;
}
footer .arla-menu a:hover {
    background-size: 100% 1px;
}
footer pre {
    padding:0!important;
    margin:0!important;
}
/* =WooCommerce Single Product
------------------------------------------------------- */
.arla-product-separator {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0;
}

.arla-product-description {
    margin: 10px 0 15px;
    font-size: 15px;
    line-height: 1.7;
}

/* =Single Product — Promo / Member Benefit banner */
.arla-product-promo {
    margin: 20px 0;
    padding: 18px 20px 18px 55px;
    font-size: 14px;
    line-height: 1.6;
    background: #e8f0fe;
    border: 1px solid #c5d7f2;
    border-radius: 5px;
    position: relative;
    color: #222;
}

.arla-product-promo::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 20px;
    height: 24px;
    background: #082c72;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0C4.5 0 0 2 0 2v14c0 0 3 5 10 8c7-3 10-8 10-8V2C20 2 15.5 0 10 0zm0 2.5c3.5 0 7 1.2 8 1.7v11.3c-1 1.5-3.5 4-8 6-4.5-2-7-4.5-8-6V4.2C3 3.7 6.5 2.5 10 2.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0C4.5 0 0 2 0 2v14c0 0 3 5 10 8c7-3 10-8 10-8V2C20 2 15.5 0 10 0zm0 2.5c3.5 0 7 1.2 8 1.7v11.3c-1 1.5-3.5 4-8 6-4.5-2-7-4.5-8-6V4.2C3 3.7 6.5 2.5 10 2.5z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.arla-product-promo strong,
.arla-product-promo b {
    color: #082c72;
}

.arla-product-promo a {
    color: #082c72;
    font-weight: 600;
    text-decoration: underline;
}

.arla-product-promo a:hover {
    color: #0a3585;
}

/* =Single Product — Quantity + Add to Cart row */
.arla-quantity-label {
    margin: 15px 0 5px;
    font-size: 15px;
}

/* Stacked: quantity on top, add-to-cart below */
.single-product div.product form.cart {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: nowrap;
}

/* Quantity wrapper */
.single-product div.product form.cart .quantity {
    display: flex !important;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    overflow: hidden;
    height: 48px;
    background: #fff;
}

.single-product div.product form.cart .quantity input.qty {
    width: 48px;
    height: 100%;
    text-align: center;
    border: none !important;
    border-left: 1px solid #d0d0d0 !important;
    border-right: 1px solid #d0d0d0 !important;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    -moz-appearance: textfield;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none !important;
}

.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Plus / Minus quantity buttons — equal size */
.single-product div.product form.cart .quantity .arla-qty-btn {
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none !important;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    color: #555;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
}

.single-product div.product form.cart .quantity .arla-qty-btn:hover {
    background: #f0f0f0;
    color: #082c72;
}

/* Add to Cart button — large, rounded, navy */
.single-product div.product form.cart .single_add_to_cart_button {
    width: 100%;
    height: 50px;
    background: #082c72 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    padding: 0 30px !important;
    text-transform: none;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
    background: #0a3585 !important;
    box-shadow: 0 4px 12px rgba(8, 44, 114, 0.3);
}

/* =Cart icon inside Add to Cart button
------------------------------------------------------- */
.single-product div.product form.cart .single_add_to_cart_button .arla-cart-icon {
    vertical-align: middle;
    margin-right: 6px;
    position: relative;
    top: -1px;
}

/* ="Back to Landlord Forms & Notices" on single product
------------------------------------------------------- */
.arla-back-to-shop--single {
    text-align: center;
    padding: 30px 0 40px;
}

.arla-back-to-shop--single .arla-back-to-shop__btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #1a3b5c;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.arla-back-to-shop--single .arla-back-to-shop__btn:hover {
    background-color: #142d47;
}

/* =WooCommerce "Added to Cart" banner
------------------------------------------------------- */
.woocommerce-message {
    background: #1a8a4a;
    color: #fff;
    padding: 16px 25px;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: none;
    border-radius: 5px;
    margin: 0 0 20px;
    overflow: hidden;
    animation: arla-slideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.woocommerce-message a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.woocommerce-message .button,
.woocommerce-message a.button {
    float: none;
    margin: 0;
    flex-shrink: 0;
}

@keyframes arla-slideDown {
    from {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        padding-top: 16px;
        padding-bottom: 16px;
        opacity: 1;
    }
}

/* Mobile: stack button below message so it doesn't get cut */
@media (max-width: 600px) {
    .woocommerce-message {
        flex-direction: column;
        padding-left: 16px;
        padding-right: 16px;
        font-size: 14px;
        gap: 10px;
    }

    .woocommerce-message .button,
    .woocommerce-message a.button {
        width: 100%;
        text-align: center;
    }
}

/* Fly-to-cart clone */
.arla-fly-to-cart {
    position: fixed;
    z-index: 999999;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

.arla-fly-to-cart.arla-fly-to-cart--flying {
    width: 40px !important;
    height: 40px !important;
    opacity: 0.2;
    border-radius: 50%;
}

/* Cart icon bounce after item arrives */
@keyframes arla-cartBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.4); }
    60%  { transform: scale(0.9); }
    80%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.arla-cart-bounce .et-cart-info {
    animation: arla-cartBounce 0.6s ease;
}

/* =WooCommerce — hide sidebar, full-width content (CSS only) */
.woocommerce-page #sidebar {
    display: none !important;
}

.woocommerce-page.et_right_sidebar #left-area {
    width: 100% !important;
    padding-right: 0 !important;
    float: none !important;
}

.woocommerce-page.et_right_sidebar #main-content .container:before {
    display: none !important;
}

/* =Single Product — Tabs (.arla-tabs wrapper for Divi override)
------------------------------------------------------- */
.arla-tabs {
    width: 100%;
    margin-top: 25px;
    clear: both;
}

.arla-tabs .woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    gap: 0;
    background: transparent;
}

.arla-tabs .woocommerce-tabs ul.tabs::before,
.arla-tabs .woocommerce-tabs ul.tabs::after {
    display: none;
}

.arla-tabs .woocommerce-tabs ul.tabs li.arla-tab {
    margin: 0;
    padding: 0;
    flex: 1;
    border: 1px solid #d0d0d0;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    background: #ebebeb;
    margin-right: -1px;
}

.arla-tabs .woocommerce-tabs ul.tabs li.arla-tab:last-child {
    margin-right: 0;
}

.arla-tabs .woocommerce-tabs ul.tabs li.arla-tab.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.arla-tabs .woocommerce-tabs ul.tabs li.arla-tab a {
    display: block;
    padding: 12px 20px !important;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    text-align: center;
    background: transparent;
    line-height: 1.4;
    white-space: nowrap;
}

.arla-tabs .woocommerce-tabs .panel {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    border: 1px solid #d0d0d0;
    border-radius: 0 0 5px 5px;
    margin-top: 0;
    padding: 20px;
}

.arla-tabs .woocommerce-tabs .panel h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
}

/* =Single Product — Related products inside tab panel */
.arla-tabs .panel ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.arla-tabs .panel ul.products li.product {
    width: calc(25% - 12px) !important;
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
    margin: 0 !important;
    padding: 0;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    float: none !important;
    list-style: none;
    box-sizing: border-box;
}

.arla-tabs .panel ul.products li.product a img {
    width: 100%;
    height: auto;
    display: block;
}

.arla-tabs .panel ul.products li.product a h2,
.arla-tabs .panel ul.products li.product a h3,
.arla-tabs .panel ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 10px 0;
    margin: 0;
    color: #222;
    line-height: 1.3;
}

.arla-tabs .panel ul.products li.product .price {
    font-size: 14px;
    font-weight: 700;
    color: #082c72;
    padding: 5px 10px;
}

.arla-tabs .panel ul.products li.product a.button,
.arla-tabs .panel ul.products li.product a.add_to_cart_button {
    display: block;
    margin: 8px 10px 10px;
    padding: 8px 10px;
    background: #082c72;
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.arla-tabs .panel ul.products li.product a.button:hover,
.arla-tabs .panel ul.products li.product a.add_to_cart_button:hover {
    background: #0a3585;
}

@media (max-width: 768px) {
    .right-col {
        display: none!important;
    }
    .arla-tabs .panel ul.products li.product {
        width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
    }
    .homepage-sponsors-sect {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .homepage-sponsors-sect .et_pb_image {
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  .homepage-sponsors-sect .et_pb_image img {
    max-width: 100% !important;
    height: auto !important;
  }
  .et_pb_gallery .et_pb_gallery_item {
    max-width:50%!important;
  }
  #benefits .et_pb_row.et_flex_row {
    display: block!important;
  }
  #benefits .et_pb_row.et_flex_row .et_pb_column {
    margin-bottom: 40px!important;
  }
}

@media (max-width: 480px) {
    .arla-tabs .panel ul.products {
        flex-direction: column;
    }
    .arla-tabs .panel ul.products li.product {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* #video-section {
        display: flex!important;
        flex-direction: column!important;
        align-items: center;
    } */
     .quick-access-home .et_pb_column {
        border: solid 1px #b9bfcb!important;
        border-radius: 5px;
     }
}

/* =Product Grid Shortcode [arla_product_grid]
------------------------------------------------------- */
.arla-pg {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ---- Sidebar ---- */
.arla-pg__sidebar {
    width: 300px;
    min-width: 300px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    position: sticky;
    top: 120px;
}

.arla-pg__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

/* Sort buttons */
.arla-pg__sort-section {
    margin-bottom: 25px;
}

.arla-pg__sort-btns {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.arla-pg__sort-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.arla-pg__sort-btn:hover {
    background: #e8e8e8;
}

.arla-pg__sort-btn--active {
    background: #082c72;
    color: #fff;
    border-color: #082c72;
}

.arla-pg__sort-btn--active:hover {
    background: #0a3585;
}

/* Category list */
.arla-pg__cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.arla-pg__cat-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.arla-pg__cat-list li::before {
    display: none !important;
}

.arla-pg__cat {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.2s ease;
}

.arla-pg__cat:hover {
    background: #e8e8e8;
    color: #333;
}

.arla-pg__cat--active {
    background: #082c72;
    color: #fff;
    border-color: #082c72;
}

.arla-pg__cat--active:hover {
    background: #0a3585;
    color: #fff;
}

.arla-pg__cat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #e0e0e0;
    color: #555;
}

.arla-pg__cat--active .arla-pg__cat-badge {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ---- Main area ---- */
.arla-pg__main {
    flex: 1;
    min-width: 0;
}

.arla-pg__topbar {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

/* Grid */
.arla-pg__grid {
    display: grid;
    gap: 20px;
    transition: opacity 0.25s ease;
}

.arla-pg__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.arla-pg__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.arla-pg__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.arla-pg__card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.arla-pg__card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.arla-pg__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.arla-pg__card-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.arla-pg__card-body {
    padding: 15px;
}

.arla-pg__card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #222;
    line-height: 1.3;
}

.arla-pg__card-cat {
    font-size: 11px;
    letter-spacing: 0.8px;
    color: #888;
    margin: 0 0 8px;
}

.arla-pg__card-price {
    font-size: 16px;
    font-weight: 700;
    color: #082c72;
    margin-bottom: 8px;
}

.arla-pg__card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Empty state */
.arla-pg__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
}

/* Loader / spinner */
.arla-pg__loader {
    text-align: center;
    padding: 30px 0;
}

.arla-pg__spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: #082c72;
    border-radius: 50%;
    animation: arla-pg-spin 0.7s linear infinite;
}


.arla-pg__pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    padding: 16px 0;
}

.arla-pg__page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.arla-pg__page-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.arla-pg__page-btn--active {
    background: #333;
    color: #fff;
    border-color: #333;
    cursor: default;
}

.arla-pg__page-btn--active:hover {
    background: #333;
    border-color: #333;
}

/* =Single Product — WooCommerce Tabs (Divi override)
------------------------------------------------------- */
.single-product .woocommerce-tabs ul.tabs,
body.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid #d0d0d0 !important;
    background: transparent !important;
    overflow: visible !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after,
body.woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li,
body.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d0d0d0 !important;
    border-bottom: none !important;
    border-radius: 5px 5px 0 0 !important;
    background: #ebebeb !important;
    margin-right: -1px !important;
}

.single-product .woocommerce-tabs ul.tabs li:last-child,
body.woocommerce div.product .woocommerce-tabs ul.tabs li:last-child {
    margin-right: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active,
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #fff !important;
    border-bottom: 1px solid #fff !important;
    margin-bottom: -1px !important;
    position: relative;
    z-index: 1;
}

.single-product .woocommerce-tabs ul.tabs li a,
body.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    text-align: center !important;
    background: transparent !important;
    border-radius: 5px 5px 0 0 !important;
    white-space: nowrap;
}

.single-product .woocommerce-tabs .panel,
body.woocommerce div.product .woocommerce-tabs .panel {
    border: 1px solid #d0d0d0 !important;
    border-top: none !important;
    border-radius: 0 0 5px 5px !important;
    /* padding: 20px !important; */
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
@keyframes arla-pg-spin {
    to { transform: rotate(360deg); }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .arla-pg {
        flex-direction: column;
    }
    .arla-pg__sidebar {
        width: 100%;
        min-width: 0;
        position: static;
    }
    .arla-pg__sort-btns {
        flex-direction: row;
    }
    .arla-pg__sort-btn {
        flex: 1;
        text-align: center;
    }
    .arla-pg__cat-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .arla-pg__cat-list li {
        flex: none;
    }
}

@media (max-width: 768px) {
    .single-event .arla-event__back {
        margin: 0 20px 20px;
    display: block;
    text-align: center;
    }
    .arla-lr-main,
    .arla-pg__main {
        width: 100% !important;
    }
    .arla-pg__grid--cols-3,
    .arla-pg__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    #visitarla-home .et_pb_column:nth-child(-n+3) {
        border-right:none!important;
    }
    #visitarla-home .et_pb_column:nth-child(-n+3)::after {
        display: none!important;
    }
    #visitarla-home .et_pb_column:after {
        display: none!important;
    }
    .right-col.et_pb_column {
        display: none!important;
    }   
}

@media (max-width: 480px) {
    .arla-pg__grid--cols-2,
    .arla-pg__grid--cols-3,
    .arla-pg__grid--cols-4 {
        grid-template-columns: 1fr;
    }
}
body.woocommerce .woocommerce-tabs {
    border: none!important;
}
.arla-tabs .products.columns-4 li.product.type-product{
    width: 100%!important;
}
.ssingle-product .arla-tabs .tabs.wc-tabs li a,
body.woocommerce div.product .woocommerce-tabs ul.tabs li a, 
body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 20px!important;
}
.woocommerce-Tabs-panel#tab-featured_products {
    padding: 10px 0 0 0!important;
}

/* Password-protected pages */
.arla-password-form {
    max-width: 460px;
    margin: 80px auto;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    text-align: center;
    box-sizing: border-box;
}
.arla-password-form__title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    color: #0a3d62;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.arla-password-form__message {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}
.arla-password-form__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.arla-password-form input[type="password"] {
    width: 220px;
    max-width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    text-align: center;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}
.arla-password-form input[type="password"]:focus {
    border-color: #0a3d62;
}
.arla-password-form input[type="submit"] {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #0a3d62;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.arla-password-form input[type="submit"]:hover {
    background: #082d48;
}
@media (max-width: 480px) {
    .arla-password-form {
        margin: 40px 15px;
        padding: 30px 20px;
    }
}

