:root {
            --brand-primary: #00a597;
            --text-primary: #333;
            --text-secondary: #464646;
            --text-tertiary: #5e6e6a;
            --text-placeholder: #959595;
            --border-color: #e2e2e2;
            --bg-light: #f7f7f7;
            --stock-in: #00a597;
            --stock-out: #dc3545;
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}


/* Header Styles - Match Figma padding */
.main-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: none;
}

.main-header .container {
    max-width: 1140px;
}

.logo-img {
    max-width: 112px;
    height: auto;
}

/* Search bar - Pill shape with icon button inside */
.search-wrapper {
    position: relative;
    max-width: 669px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    height: 56px;
    padding: 15px 60px 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    font-size: 14px;
    font-weight: 400;
}

.search-input::placeholder {
    color: var(--text-placeholder);
}

.search-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-placeholder);
    font-size: 20px;
    pointer-events: none;
    border-radius: 50%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: flex-end;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.action-item:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

.action-item i {
    font-size: 20px;
}

.cart-wrapper {
    position: relative;
}

/* Navigation Styles */
/* Figma nav alignment - Centered horizontally with equal spacing */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.main-nav .container {
    max-width: 1140px;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-link {
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    padding: 20px 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-primary);
}

.navbar-nav .nav-link.active {
    color: var(--brand-primary);
    font-weight: 500;
}

/* Hero Section - Layered pastel gradients with decorative shapes */
.page-hero {
    padding: 50px 0 30px;
    /* text-align: center; */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 255, 250, 0.4) 0%, rgba(255, 250, 252, 0.3) 100%);
}
.page-hero .container {
    max-width: 1140px;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 35px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 14px;
    color: var(--text-tertiary);
    max-width: 758px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sidebar Styles - Fixed width to match Figma (292px on desktop) */
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 292px;
    }
}

.sidebar-card {
    background-color: transparent;
    border: 1px solid #FFE2E6;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 10px;
}

.sidebar-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-item:last-child {
    border-bottom: none;
}

.category-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.category-checkbox input[type="checkbox"] {
    width: 19px;
    height: 19px;
    cursor: pointer;
    accent-color: var(--brand-primary);
}

.category-checkbox label {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

.category-count {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
}

.show-more-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.show-more-link:hover {
    text-decoration: underline;
    color: #008a7d;
}

/* Product Listing Styles - Single container with stronger elevation shadow */
.product-list-container {
    background-color: #ffffff;
    border: 1px solid #FFE2E6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    min-height: 800px;
}

@media (min-width: 992px) {
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: calc(100% - 292px - 30px);
    }
}

/* Product card - Internal row with proper spacing */
.product-card {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #FFE2E6;
    position: relative;
}

.product-card:last-child {
    border-bottom: none;
}

.product-card:hover {
    background-color: #fafafa;
}

/* Fixed image column width to match Figma */
.product-image-wrapper {
    flex-shrink: 0;
    width: 59px;
    height: 71px;
}

.product-image {
    width: 60px;
    height: 70px;
    object-fit: contain;
}

.blured-price{
    filter: blur(5px);
}

.rx-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 0 5px 5px 0;
}

/* Flexible content column */
.product-details {
    flex: 1;
    min-width: 0;
}

/* Product details spacing - Match Figma */
/* Figma product text colors - Hierarchy matching design */
.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.product-manufacturer {
    font-size: 14px;
    font-weight: 400;
    color: #464646;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-info {
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-info-item {
    font-size: 14px;
    font-weight: 500;
    color: #5e6e6a;
}

.product-size {
    font-size: 16px;
    font-weight: 400;
    color: #5e6e6a;
    margin-bottom: 0;
}

/* Fixed right action column width - Match Figma alignment */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
    /*width: 120px;*/
    text-align: left;
}

/* Price and stock status alignment */
.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #00a597;
    line-height: 1.2;
}

.stock-status {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.stock-status.in-stock {
    color: #00a597;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.btn-add-to-cart {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-add-to-cart-disabled {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    opacity: 0.5;
}

.btn-add-to-cart-a {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-add-to-cart:hover {
    background-color: #008a7d;
    color: #ffffff;
}

.btn-add-to-cart:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Pagination Styles - Circular pill style matching Figma */
.pagination-wrapper {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    margin: 0;
    gap: 10px;
}

.pagination .page-link {
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0;
    margin: 0;
    border-radius: 19px;
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #ffffff;
}

.pagination .page-link:hover {
    color: var(--brand-primary);
    background-color: #f8f9fa;
    border-color: var(--brand-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

.pagination .page-item.disabled .page-link {
    border-radius: 19px;
    opacity: 0.6;
}

/* Footer Styles */
.main-footer {
    background-color: #ffffff;
    /* border-top: 1px solid var(--border-color); */
    box-shadow: 0 0 40px rgba(0 0 0 / 10%);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-radius: 20px 20px 0 0;
}

.main-footer .container {
    max-width: 1140px;
}

.footer-logo {
    max-width: 101px;
    height: auto;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 367px;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid #FFAFBA;
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex: 1;
}

.social-icon {
    width: 30px;
    height: 30px;
    background-color: var(--brand-primary);
    color: #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #008a7d;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-primary);
}
/*.product-list-container .product-card:last-child .select-menu .options{*/
/*    position: absolute;*/
/*    bottom: 30px;*/
/*}*/
/*.product-list-container .product-card:nth-last-child(2) .select-menu .options{*/
/*    position: absolute;*/
/*    bottom: 30px;*/
/*}*/

/* Responsive Styles - Maintain functionality on mobile */
@media (max-width: 991.98px) {
    .col-lg-3,
    .col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sidebar-card {
        margin-bottom: 30px;
    }

    .product-card {
        flex-wrap: wrap;
    }

    .product-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-actions {
        gap: 15px;
    }

    .action-item span {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .search-wrapper {
        margin: 15px 0;
    }

    .page-hero {
        padding: 40px 0 30px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .footer-nav {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .product-card {
        padding: 15px;
    }

    .product-info {
        flex-direction: column;
        gap: 5px;
    }

    .pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 30px;
        height: 30px;
    }
    .main-footer{
        margin-top: 0;
    }
}

.paw{
    position: absolute;
    right: 160px;
    z-index: 9999999;
}

/*select*/
/*.select-menu {*/
/*  max-width: 330px;*/
/*  margin: 50px auto;*/
/*}*/
.select-menu .select-btn {
  display: flex;
  height: 40px;
  background: #fff;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.select-btn i{
    color: #999;
    font-size: 10px;
}
.select-menu .options {
  position: absolute;
  width: 100%;
  overflow-y: auto;
  max-height: 295px;
  padding: 10px;
  margin-top: 5px;
  right: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation-name: fadeInDown;
  -webkit-animation-name: fadeInDown;
  animation-duration: 0.35s;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.35s;
  -webkit-animation-fill-mode: both;
}
.select-menu .options .option {
  display: flex;
  height: 30px;
  cursor: pointer;
  padding: 0 16px;
  border-radius: 8px;
  align-items: center;
  background: #fff;
}
.select-menu .options .option:hover {
  background: #f2f2f2;
}
.select-menu .options .option i {
  font-size: 25px;
  margin-right: 12px;
}
.select-menu .options .option .option-text {
  font-size: 14px;
  color: #333;
}

.select-btn i {
  font-size: 25px;
  transition: 0.3s;
}

.select-menu.active .select-btn i {
  transform: rotate(-180deg);
}
.select-menu.active .options {
  display: block;
  width: 180px;
  opacity: 0;
  z-index: 10;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
  animation-duration: 0.4s;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    transform: translate3d(0, 30px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes fadeInDown {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  to {
    transform: translate3d(0, 20px, 0);
    opacity: 0;
  }
}

.select-menu{
    display: none;
    width: 165px;
}
.linked-area {
    transition: 0.4s ease all;
}
.linked-area:hover .product-name{
    color: #00a597;
}

/*responsive*/
@media (max-width: 576px){
    .sidebar-card{
        position: fixed;
        top: 0px;
        right: -296px;
        background: #fff;
        z-index: 9;
        width: 296px;
        transition: 0.4s ease all;
    }
    .page-hero .text-center{
        text-align: left !important;
    }
    .sidebar-card.shown{
        right: 0;
        width: 100%;
        height: 100vh;
    }
    .linked-area{
        width: 100% !important;
    }
    .product-name {
        font-size: 16px;
        line-height: 22px;
    }
    .product-manufacturer{
        margin-bottom: 0;
    }
    .product-card{
        gap: 10px;
    }
    .pagination {
        gap: 5px;
        flex-wrap: wrap;
    }
    .paw{
        left: 0;
        right: auto;
        width: 25%;
    }
}
