:root {
    --shop-card-bg: #ffffff;
    --shop-soft: #f6f3ee;
    --shop-muted: #7a6f6f;
    --shop-border: #eadfd8;
}

.shop-page {
    color: var(--brand-ink, #434343);
}

.shop-section + .shop-section {
    margin-top: 24px;
}

.shop-collections {
    margin-top: 28px !important;
}

.shop-hero {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    margin-bottom: 28px;
}

.shop-hero-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.shop-hero-overlay {
    /* position: absolute; */
    /* inset: 0; */
    display: flex;
    align-items: flex-end;
    margin-top: 30px;
    /* padding: 24px; */
    /* background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35)); */
}

.shop-hero-card {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    /* padding: 20px 24px; */
    /* box-shadow: 0 12px 30px rgba(67,67,67,0.12); */
}

.shop-hero-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.shop-hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.shop-hero-title {
    font-size: 22px;
    margin: 0 0 4px;
    font-weight: 700;
}

.shop-hero-desc {
    margin: 0 0 6px;
    color: var(--shop-muted);
}

.shop-hero-meta {
    font-size: 13px;
    color: var(--shop-muted);
}

.shop-hero-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shop-hero-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--shop-border);
    color: var(--brand-ink, #434343);
    font-size: 13px;
    background: #fff;
    transition: all 0.2s ease;
}

    .shop-hero-action:hover {
        border-color: var(--brand-primary, #c48a8a);
        color: var(--brand-primary, #c48a8a);
    }

.shop-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 10px 12px;
}

.shop-stat-card {
    background: var(--shop-soft);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid var(--shop-border);
}

.shop-stat-label {
    font-size: 12px;
    color: var(--shop-muted);
}

.shop-stat-value {
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

.shop-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.shop-collection-card,
.shop-category-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    /*border: 1px solid var(--shop-border);*/
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .shop-collection-card:hover,
    .shop-category-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(67,67,67,0.12);
    }

    .shop-collection-card img,
    .shop-category-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

.shop-category-info {
    padding: 12px 14px;
}

.shop-tabs {
    display: inline-flex;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    border: 1px solid var(--shop-border);
    margin-bottom: 20px;
}

.shop-tab {
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--brand-ink, #434343);
}

    .shop-tab.is-active {
        background: var(--brand-primary, #c48a8a);
        color: #fff;
    }

.shop-tab-panel {
    display: none;
}

    .shop-tab-panel.is-active {
        display: block;
    }

.shop-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    background: var(--brand-light);
    border: none;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.shop-filter-bar-left {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.shop-filter-bar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

    .shop-filter-bar-group label {
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        color: var(--brand-ink, #434343);
    }

.shop-filter-bar select {
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ece5dd;
    background-color: #fff;
    color: #2f2f2f;
    padding: 0 38px 0 14px;
    font-size: 30px;
    line-height: 40px;
}

    .shop-filter-bar select:focus {
        outline: none;
        border-color: var(--brand-primary, #c48a8a);
        box-shadow: 0 0 0 2px rgba(196, 138, 138, 0.12);
    }

.shop-grid .product-card,
.category-product-grid .product-card {
    height: 100%;
}

.shop-page .product-price {
    color: var(--brand-discount);
}

    .shop-page .product-price .price-current {
        color: var(--brand-discount, #fa6230);
    }

.shop-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.shop-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 36px;
  border-radius: 0;
  border: 1px solid #d8d8d8;
  margin: 0;
  padding: 0 10px;
  color: var(--brand-ink, #434343);
  background: #fff;
  font-weight: 500;
}

.shop-page-link.active,
.shop-page-link.is-active,
.shop-page-link:hover {
  background: var(--brand-primary, #c48a8a);
  color: #fff;
  border-color: var(--brand-primary, #c48a8a);
}

.shop-pagination .shop-page-link + .shop-page-link {
  border-left: 0;
}

.shop-pagination .shop-page-link:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.shop-pagination .shop-page-link:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.shop-swiper-nav {
    color: var(--brand-primary, #c48a8a);
}

    .shop-swiper-nav::after {
        font-size: 16px;
    }

.shop-hero .swiper-pagination-bullet,
.shop-collection-swiper .swiper-pagination-bullet,
.shop-category-swiper .swiper-pagination-bullet,
.shop-product-swiper .swiper-pagination-bullet {
    background: var(--brand-primary, #c48a8a);
    opacity: 0.45;
}

.shop-hero .swiper-pagination-bullet-active,
.shop-collection-swiper .swiper-pagination-bullet-active,
.shop-category-swiper .swiper-pagination-bullet-active,
.shop-product-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 991px) {
    .shop-hero-banner {
        height: auto;
    }

    .shop-hero-overlay {
        /*position: static;*/
        background: none;
        padding: 0;
        /*margin-top: -36px;*/
    }

    .shop-hero-card {
        grid-template-columns: 1fr;
    }

    .shop-hero-stats {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

  .shop-filter-bar-left {
    grid-template-columns: 1fr;
  }

  .shop-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
  }

  .shop-tab {
    width: 100%;
    min-height: 42px;
    padding: 8px 6px;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    word-break: keep-all;
  }

  .shop-tab i {
    font-size: 17px;
  }
}
