:root {
    --brand-red: #E31E24;
    --brand-blue: #00AEEF;
    --brand-dark: #1A1A1A;
    --brand-blue-start: #37a1d7;
    --brand-blue-end: #007bff;
    --sy-cyan-start: #00AEEF;
    --sy-cyan-end: #0072BC;
    --sy-light-blue: #e0f2ff;
    --sy-light-grey: #f0f0f0;
    --sy-border-light-blue: #BFE9F8;
    --sy-counter-bg: #D1F0FA; 
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.bg-gradient-blue {
    background: linear-gradient(90deg, var(--brand-blue-start) 0%, var(--brand-blue-end) 100%) !important;
}

.bg-light-blue { background-color: var(--sy-light-blue); }
.bg-light-grey { background-color: var(--sy-light-grey); }

/* Header */
.top-bar {
    background-color: var(--brand-red); /* Using Brand Red */
}

.brand-logo {
    height: 50px;
}

.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* Sidebar Menu Popups */
.sidebar-menu li {
    position: relative;
    cursor: pointer;
}

.sidebar-menu li a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.sub-menu-popup {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 250px;
    background: white;
    z-index: 1000;
    padding: 15px;
    box-shadow: 10px 0 20px rgba(0,0,0,0.1);
    border-radius: 0 10px 10px 0;
    border-top: 2px solid #c3252d;
}

.sidebar-menu li:hover .sub-menu-popup {
    display: block;
}

.btn.btn-pink {
    border: 1px solid #f7e1e1;
    color: #969696;
}
.btn.btn-pink:hover {
    border: 1px solid #f7e1e1;
    color: #c3252d;
    background: #f7e1e1;
}

.sidebar-menu li .btn i {
    width: 24px;
}

.sidebar-menu li .btn:hover i:before {
    content: "\f078";
}

.sub-menu-popup a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Promo Buttons */
.promo-btn {
    bottom: 15px;
    right: 15px;
    font-size: 12px;
    padding: 6px 15px;
    font-weight: 600;
    color: #00bcd4;
}

/* Horizontal scroll on mobile for promos */
@media (max-width: 991px) {
    .promo-scroll-wrapper {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .promo-row {
        width: max-content;
    }
}

/* Categories Half Round */
.half-round {
    height: 180px;
    border-radius: 100px 100px 10px 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    overflow: hidden;
}

.half-round img {
    height: 85%;
    border-radius: 10px 10px 0 0;
}

.yellow-bg { background: #FFD200; }
.blue-bg { background: #00AEEF; }
.orange-bg { background: #F7941E; }

/* Product Tabs */
.nav-tabs .nav-link {
    border: 1px solid #ddd;
    color: #666;
}

.nav-tabs .nav-link.active {
    background-color: var(--brand-blue) !important;
    color: white !important;
    border-color: var(--brand-blue);
}

/* Product Card */
.product-box {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.product-box:hover {
    transform: translateY(-5px);
}

.product-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--brand-blue);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* Product Slider */
.product-slider-container {
    overflow: hidden;
}

.product-image-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
}

.product-image-track img {
    flex: 0 0 100%; /* Mobile default: 1 per view */
    height: 250px;
    object-fit: contain;
    background: #fff;
}

/* Specifications Section */
.spec-icon-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    margin: 0 auto;
}

.spec-label-box {
    font-size: 14px;
    font-weight: 600;
}

.spec-result-box {
    font-size: 14px;
}

.quantity-control input {
    max-width: 80px;
}

select option {
    color: black;
}

/* Responsive Overrides */
@media (min-width: 768px) {
    .product-image-track img {
        flex: 0 0 calc(33.333% - 10px); /* Tablet: 3 per view */
    }
}

@media (min-width: 1200px) {
    .product-image-track img {
        flex: 0 0 calc(25% - 12px); /* Desktop: 4 per view */
    }
}

.btn-danger {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
}

.price-box small {
    font-size: 11px;
}

/* Specifications Icons & Layout */
.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 14px;
}

.spec-label { background: white; }

/* Image Slider */
.product-slider-wrapper {
    position: relative;
}
.slider-item {
    height: 150px;
    padding: 5px;
    object-fit: contain;
}
.slider-img {
    height: 150px !important;
}

@media (min-width: 768px) {
    .slider-img { flex: 0 0 calc(25% - 10px); }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.slider-arrow.left { left: 0; }
.slider-arrow.right { right: 0; }
.slider-arrow.slick-disabled {
    opacity: 0.4;
}

/* Pricing Table */
.bg-gradient-blue th {
    background: linear-gradient(to right, var(--sy-cyan-start), var(--sy-cyan-end)) !important;
    border: none;
    padding: 8px !important;
    font-weight: 500;
}

/* Collect Day Box */
.collect-box {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Add to Cart Shadow */
.btn-shadow { box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3) !important; }

/* Final Total Box Tweaks */
.final-total-box { border: 1px solid #ddd; }

/** Contact us page **/
/* Active Menu Link - Highlights the red color */
.active-page {
    color: #E31E24 !important;
    font-weight: 700;
}

/* Card Improvements */
.card {
    transition: transform 0.2s ease;
}

/* .card:hover {
    transform: translateY(-2px);
} */

/* Map responsiveness for smaller screens */
@media (max-width: 991px) {
    .map-container {
        height: 400px;
        margin-top: 20px;
    }
}

/* Info links color matches brand blue */
.text-info {
    color: #00AEEF !important;
}

/* Rounded-4 is a custom utility for deeper corners */
.rounded-4 {
    border-radius: 1.25rem !important;
}

/** FAQ Page **/
/* Active Menu Link - FAQ Highlight */
.active-page {
    color: #E31E24 !important;
    font-weight: 700;
}

/* Custom Accordion Styling */
.accordion-button:not(.collapsed) {
    background-color: #f0f9ff; /* Very light brand blue */
    color: #0072BC; /* Brand Blue */
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 174, 239, 0.1);
}

.accordion-button::after {
    background-size: 1rem;
}

/* Smooth rounding for the FAQ card */
.rounded-4 {
    border-radius: 1.25rem !important;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
}

.accordion-item:first-of-type .accordion-button {
    border-top-right-radius: 1.25rem;
    border-top-left-radius: 1.25rem;
}

.accordion {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C!--!Font%20Awesome%20Free%20v7.1.0%20by%20%40fontawesome%20-%20https%3A%2F%2Ffontawesome.com%20License%20-%20https%3A%2F%2Ffontawesome.com%2Flicense%2Ffree%20Copyright%202026%20Fonticons%2C%20Inc.--%3E%3Cpath%20d%3D%22M256%2064c0-17.7-14.3-32-32-32s-32%2014.3-32%2032l0%20160-160%200c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032l160%200%200%20160c0%2017.7%2014.3%2032%2032%2032s32-14.3%2032-32l0-160%20160%200c17.7%200%2032-14.3%2032-32s-14.3-32-32-32l-160%200%200-160z%22%2F%3E%3C%2Fsvg%3E");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C!--!Font%20Awesome%20Free%20v7.1.0%20by%20%40fontawesome%20-%20https%3A%2F%2Ffontawesome.com%20License%20-%20https%3A%2F%2Ffontawesome.com%2Flicense%2Ffree%20Copyright%202026%20Fonticons%2C%20Inc.--%3E%3Cpath%20d%3D%22M0%20256c0-17.7%2014.3-32%2032-32l384%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L32%20288c-17.7%200-32-14.3-32-32z%22%2F%3E%3C%2Fsvg%3E");
}

/* CATEGORY CARD STYLING */
.cat-card {
    background-color: #fff;
    border: 1px solid #eee; /* Default subtle border */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* HOVER EFFECT: Prominent blue border */
.cat-card:hover {
    border: 2px solid #00AEEF !important; /* Brand Blue */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.1);
}

.cat-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keep it square */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the container like the screenshot */
}

.cat-name {
    font-size: 13px;
    color: #666;
    text-align: left;
    font-weight: 400;
}

/* Page heading styling matches the image */
main h2 {
    font-weight: 600;
    color: #333;
}

/* Mobile Tweak: Ensure 2 columns don't feel too cramped */
@media (max-width: 575px) {
    .cat-card {
        padding: 5px !important;
    }
}

/* Details Page Style */
.item-selector {
    display:block;
    border: 2px solid #4d90fe11;
}
.item-selector:hover {
    border: 2px solid #4d90feae;
}
.item-selector.active {
    border: 2px solid #dc3545;
}


.number-counter-wrapper {
    display: flex;
    width: 80px;
    height: 38px;
    border: 2px solid var(--sy-border-light-blue);
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}

.counter-input {
    flex-grow: 1;
    border: none;
    text-align: center;
    font-weight: 600;
    width: 60%;
    outline: none;
    color: #333;
}

/* Hide arrows from number input */
.counter-input::-webkit-inner-spin-button,
.counter-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.counter-controls {
    display: flex;
    flex-direction: column;
    width: 40%;
    background-color: var(--sy-counter-bg);
    /* border-left: 2px solid #fff; */
}

.btn-step {
    flex: 1;
    border: none;
    background: transparent;
    color: #555;
    font-size: .7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-step:first-child {
    border-bottom: 2px solid #fff;
}

.btn-step:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-step:active {
    background-color: rgba(255, 255, 255, 0.5);
}

.number-counter-wrapper.quantity-wrapper {
    width: 100%;
    border: 1px solid #dee2e6;
}

.quantity-wrapper .counter-controls {
    width: 32px;
}

.artwork-file-input {
    color: #aeaeae;
}

.artwork-file-input.has-file {
    color: #000000;
    border: 2px solid rgba(var(--bs-success-rgb),1);
}

/* Thumbnail Preview Styling */
.thumb-preview, .thumb-preview-back {
    max-width: 90px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none; /* Hidden by default */
}

.dd-menu-arrow::before {
  border-bottom: 9px solid rgba(0, 0, 0, 0.2);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  content: "";
  display: inline-block;
  left: 10px;
  position: absolute;
  top: -8px;
}

.dd-menu-arrow::after {
  border-bottom: 8px solid #FFFFFF;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: "";
  display: inline-block;
  left: 11px;
  position: absolute;
  top: -7px;
}

.dd-menu-arrow-right:before {
    left: auto;
 right: 10px;
}
.dd-menu-arrow-right:after {
    left: auto;
  right: 11px;
}

.dropdown-menu {
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.173);
}
.cart-dropdown {
    width: 260px;
}

@media (min-width: 992px) {
  .category-menu .dropdown-menu .dropdown-toggle:after {
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
  }
  .category-menu .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
  }
  .category-menu .dropdown-menu li:hover .dropdown-menu {
    display: block;
  }
}

.fin-dropdown {
    padding: 5px;
}
.fin-dropdown .item-selector {
    width: 160px;
}
.fin-dropdown.show:has(> .item-selector:nth-last-child(n + 6)) {
  width: 280px;
  display: flex;
  flex-wrap: wrap;
}
.fin-dropdown:has(> .item-selector:nth-last-child(n + 6)) > .item-selector {
   flex-basis: calc(50%);
}
.fin-dropdown.show:has(> .item-selector:nth-last-child(n + 12)) {
  width: 420px;
  display: flex;
  flex-wrap: wrap;
}
.fin-dropdown:has(> .item-selector:nth-last-child(n + 12)) > .item-selector {
   flex-basis: calc(33%);
}
.size-opt-lbl
 {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00adef;
    color: white;
    text-align: center;
    align-content: center;
}