/* assets/css/store.css - Professional Vastu Products Store UI */

.store-page {
    background: #f6faf7;
}

/* ---------- Hero / Banner ---------- */
.store-hero {
    position: relative;
    overflow: hidden;
    padding: 62px 0 58px;
    background:
        radial-gradient(circle at 88% 18%, rgba(249, 115, 22, .14), transparent 42%),
        radial-gradient(circle at 12% 82%, rgba(16, 185, 129, .16), transparent 46%),
        linear-gradient(135deg, #062d1f 0%, #0b3d2a 52%, #115e43 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.store-hero::before,
.store-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.store-hero::before {
    width: 340px;
    height: 340px;
    right: -110px;
    top: -150px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.store-hero::after {
    width: 520px;
    height: 520px;
    left: -220px;
    bottom: -330px;
    border: 1px solid rgba(249, 115, 22, .18);
}

.store-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.store-hero .store-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fdba74;
    font-family: 'Outfit', sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.store-hero h1 {
    margin: 18px 0 12px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
}

.store-hero h1 span {
    color: #fb923c;
}

.store-hero p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 1.02rem;
    line-height: 1.75;
}

.store-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
}

.store-breadcrumb a {
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
}

.store-breadcrumb a:hover {
    color: #fb923c;
}

.store-breadcrumb i {
    font-size: .62rem;
    opacity: .7;
}

/* ---------- Layout ---------- */
.store-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 42px 0 84px;
}

/* ---------- Sidebar ---------- */
.store-sidebar {
    position: sticky;
    top: 96px;
    background: #ffffff;
    border: 1px solid #dfeae3;
    border-radius: 18px;
    padding: 20px 16px;
    box-shadow: 0 12px 34px rgba(6, 45, 31, .05);
}

.store-sidebar-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 6px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid #edf3ef;
}

.store-sidebar-head i {
    color: #f97316;
}

.store-sidebar-head h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
}

.store-cat-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.store-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #3f5148;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.store-cat-link:hover {
    background: #f0f9f4;
    color: #047857;
}

.store-cat-link.active {
    background: linear-gradient(135deg, #ecfdf5, #dcfce7);
    color: #047857;
    box-shadow: inset 0 0 0 1px #bbf7d0;
}

.store-cat-link span.cat-name {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.store-cat-link span.cat-name i {
    width: 16px;
    color: #10b981;
    font-size: .78rem;
}

.store-cat-link.active span.cat-name i {
    color: #ea580c;
}

.store-cat-count {
    flex: 0 0 auto;
    min-width: 26px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f5f3;
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
    text-align: center;
}

.store-cat-link.active .store-cat-count {
    background: #ffffff;
    color: #047857;
}

.store-sidebar-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(150deg, #fff7ed, #fffaf5);
    border: 1px solid #fed7aa;
}

.store-sidebar-note i {
    color: #ea580c;
    font-size: 1.15rem;
}

.store-sidebar-note strong {
    display: block;
    margin: 8px 0 4px;
    color: #9a3412;
    font-size: .88rem;
}

.store-sidebar-note p {
    margin: 0;
    color: #b45309;
    font-size: .76rem;
    line-height: 1.55;
}

/* ---------- Toolbar ---------- */
.store-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #ffffff;
    border: 1px solid #dfeae3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(6, 45, 31, .04);
}

.store-search {
    display: flex;
    align-items: center;
    flex: 1 1 260px;
    min-width: 0;
    gap: 8px;
}

.store-search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.store-search-field i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .85rem;
}

.store-search-field input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 38px;
    border: 1px solid #dbe6df;
    border-radius: 10px;
    background: #f8fbf9;
    color: #1e293b;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.store-search-field input:focus {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.store-search button {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--emerald-gradient);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: .86rem;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(16, 185, 129, .24);
    transition: transform .2s ease;
}

.store-search button:hover {
    transform: translateY(-1px);
}

.store-sort {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.store-sort label {
    color: #64748b;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}

.store-sort select {
    height: 44px;
    min-width: 190px;
    padding: 0 38px 0 12px;
    border: 1px solid #dbe6df;
    border-radius: 10px;
    background-color: #f8fbf9;
    color: #24382f;
    font-size: .86rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.store-sort select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.store-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: .86rem;
}

.store-result-meta strong {
    color: #062d1f;
}

.store-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
}

.store-active-filter:hover {
    background: #dcfce7;
    color: #065f46;
}

/* ---------- Grid / Cards ---------- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.store-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e3ece6;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(6, 45, 31, .05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.store-card:hover {
    transform: translateY(-6px);
    border-color: #bbf7d0;
    box-shadow: 0 24px 48px rgba(6, 45, 31, .12);
}

.store-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #f1f7f3, #e8f2ec);
}

.store-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.store-card:hover .store-card-media img {
    transform: scale(1.06);
}

.store-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(6, 45, 31, .18);
}

.store-badge.sale {
    background: var(--orange-gradient);
}

.store-badge.featured {
    background: var(--emerald-gradient);
}

.store-badge.out {
    background: #dc2626;
}

.store-quick {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .28s ease, transform .28s ease;
}

.store-card:hover .store-quick {
    opacity: 1;
    transform: translateY(0);
}

.store-quick a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .97);
    color: #062d1f;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(6, 45, 31, .18);
}

.store-quick a:hover {
    background: #ffffff;
    color: #ea580c;
}

.store-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 7px;
    padding: 17px 17px 18px;
}

.store-card-cat {
    color: #047857;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.store-card-title {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.35;
}

.store-card-title a {
    color: #062d1f;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-card-title a:hover {
    color: #ea580c;
}

.store-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: #f59e0b;
}

.store-card-rating span {
    color: #64748b;
    font-weight: 600;
}

.store-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: #718078;
    font-size: .82rem;
    line-height: 1.6;
}

.store-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.store-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    color: #ea580c;
}

.store-price-old {
    color: #94a3b8;
    font-size: .86rem;
    text-decoration: line-through;
}

.store-discount {
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: .68rem;
    font-weight: 800;
}

.store-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: .74rem;
    font-weight: 700;
}

.store-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.store-stock.in {
    color: #047857;
}

.store-stock.low {
    color: #b45309;
}

.store-stock.out {
    color: #dc2626;
}

.store-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.store-btn:hover {
    transform: translateY(-1px);
}

.store-btn-view {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
}

.store-btn-view:hover {
    background: #dcfce7;
    color: #065f46;
}

.store-btn-cart {
    background: var(--orange-gradient);
    border: 0;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(249, 115, 22, .28);
}

.store-btn-cart:hover {
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(249, 115, 22, .36);
}

.store-btn-cart:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.store-card-actions form {
    display: flex;
    margin: 0;
}

.store-card-actions form .store-btn {
    width: 100%;
}

/* ---------- Empty / Pagination ---------- */
.store-empty {
    padding: 72px 24px;
    background: #ffffff;
    border: 1px solid #dfeae3;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 34px rgba(6, 45, 31, .05);
}

.store-empty i {
    color: #b9c8be;
    font-size: 3rem;
}

.store-empty h3 {
    margin: 18px 0 8px;
    font-size: 1.35rem;
}

.store-empty p {
    margin: 0 auto 20px;
    max-width: 380px;
    color: #718078;
}

.store-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
}

.store-pagination a,
.store-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dbe6df;
    border-radius: 10px;
    background: #ffffff;
    color: #485b51;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.store-pagination a:hover {
    border-color: #10b981;
    color: #047857;
}

.store-pagination .active {
    background: var(--emerald-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(16, 185, 129, .28);
}

.store-pagination .disabled {
    opacity: .45;
    pointer-events: none;
}

/* ---------- Product Detail Page ---------- */
.pd-wrap {
    padding: 40px 0 84px;
}

.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 46px;
    align-items: start;
}

.pd-gallery {
    position: sticky;
    top: 100px;
}

.pd-main-image {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfeae3;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(6, 45, 31, .07);
}

.pd-main-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

.pd-main-image .store-badge {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 2;
}

.pd-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.pd-perk {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid #e3ece6;
    border-radius: 12px;
    background: #ffffff;
    color: #4b5f55;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.35;
}

.pd-perk i {
    flex: 0 0 auto;
    color: #10b981;
    font-size: 1rem;
}

.pd-info {
    padding-top: 6px;
}

.pd-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-decoration: none;
}

.pd-title {
    margin: 14px 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.16;
}

.pd-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: .84rem;
}

.pd-rating .stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.pd-short {
    margin: 16px 0 0;
    color: #4b5f55;
    font-size: .98rem;
    line-height: 1.75;
}

.pd-price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 8px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fffbf7);
    border: 1px solid #fed7aa;
}

.pd-price-box .store-price {
    font-size: 2rem;
}

.pd-price-box .store-price-old {
    font-size: 1rem;
}

.pd-price-box .store-discount {
    background: #ffffff;
    border: 1px solid #fdba74;
}

.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: .78rem;
    font-weight: 800;
}

.pd-stock.out {
    background: #fee2e2;
    color: #b91c1c;
}

.pd-stock.low {
    background: #fff7ed;
    color: #b45309;
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 18px 0;
    padding: 16px 0;
    border-top: 1px solid #e3ece6;
    border-bottom: 1px solid #e3ece6;
}

.pd-meta div {
    color: #64748b;
    font-size: .82rem;
}

.pd-meta strong {
    color: #24382f;
}

.pd-buy-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dbe6df;
    border-radius: 10px;
    background: #ffffff;
}

.pd-qty button {
    width: 42px;
    height: 46px;
    border: 0;
    background: #f4faf6;
    color: #047857;
    font-size: .9rem;
    font-weight: 800;
}

.pd-qty button:hover {
    background: #dcfce7;
}

.pd-qty input {
    width: 52px;
    height: 46px;
    border: 0;
    color: #062d1f;
    font-weight: 800;
    text-align: center;
    outline: none;
}

.pd-buy-row .store-btn {
    min-height: 46px;
    padding: 0 24px;
    font-size: .86rem;
}

.pd-buy-row .store-btn-cart {
    flex: 1 1 210px;
}

.pd-buy-row .store-btn-view {
    flex: 0 0 auto;
    background: #ffffff;
}

.pd-desc-card {
    margin-top: 44px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dfeae3;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(6, 45, 31, .05);
}

.pd-desc-card h2,
.pd-related h2 {
    margin: 0 0 16px;
    font-size: 1.45rem;
}

.pd-desc-card .pd-desc-body {
    color: #4b5f55;
    font-size: .95rem;
    line-height: 1.85;
}

.pd-desc-card .pd-desc-body p:last-child {
    margin-bottom: 0;
}

.pd-related {
    margin-top: 52px;
}

.pd-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pd-related-head a {
    color: #047857;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
}

.pd-related-head a:hover {
    color: #ea580c;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .store-layout {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }

    .store-sidebar {
        position: static;
    }

    .store-cat-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-sidebar-note {
        display: none;
    }

    .pd-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pd-gallery {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .store-hero {
        padding: 46px 0 42px;
    }

    .store-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .store-sort {
        justify-content: space-between;
    }

    .store-sort select {
        flex: 1;
        min-width: 0;
    }

    .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .store-card-body {
        padding: 14px;
    }

    .store-card-title {
        font-size: .95rem;
    }

    .store-card-desc {
        display: none;
    }

    .store-card-actions {
        grid-template-columns: 1fr;
    }

    .store-quick {
        display: none;
    }

    .pd-perks {
        grid-template-columns: 1fr;
    }

    .pd-desc-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .store-cat-list {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .store-card-media {
        aspect-ratio: 16 / 10;
    }

    .store-card-desc {
        display: -webkit-box;
    }

    .store-card-actions {
        grid-template-columns: 1fr 1fr;
    }

    .store-search {
        flex-wrap: wrap;
    }

    .store-search button {
        flex: 1 1 100%;
    }

    .store-pagination a,
    .store-pagination span {
        min-width: 38px;
        height: 38px;
    }
}

/* ---------- Detail page breadcrumb bar ---------- */
.pd-crumb {
    padding: 22px 0 0;
    background: #f6faf7;
}

.pd-crumb .store-breadcrumb {
    margin: 0;
    color: #64748b;
}

.pd-crumb .store-breadcrumb a {
    color: #047857;
}

.pd-crumb .store-breadcrumb a:hover {
    color: #ea580c;
}

/* ---------- Product details (template layout) ---------- */
.product-details-page {
    padding: 46px 0 88px;
    background:
        radial-gradient(circle at 92% 4%, rgba(16, 185, 129, .08), transparent 32%),
        radial-gradient(circle at 4% 32%, rgba(249, 115, 22, .07), transparent 30%),
        #f7faf5;
}

.product-details-container {
    max-width: 1240px;
}

.product-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    padding: 9px 14px;
    border: 1px solid #dce7df;
    border-radius: 999px;
    background: #fff;
    color: #1f5e45;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(6, 45, 31, .04);
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.product-breadcrumb:hover {
    border-color: #d9823b;
    color: #c26626;
    transform: translateX(-2px);
}

.product-details-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.product-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-main-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e2ebe3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(6, 45, 31, .08);
}

.product-main-img {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform .35s ease;
}

.product-main-image-wrapper:hover .product-main-img {
    transform: scale(1.025);
}

.product-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(234, 88, 12, .28);
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}

.product-category {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #1f6849;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .6px;
    text-decoration: none;
    text-transform: uppercase;
}

.product-category:hover {
    background: #dcfce7;
    color: #15803d;
}

.product-info h1 {
    margin: 2px 0 0;
    color: #1d3329;
    font-family: var(--heading-font-family, 'Outfit', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.product-id {
    margin: 0;
    color: #8a978f;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .4px;
}

.product-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 2px 0 4px;
    color: #718078;
    font-size: .88rem;
}

.product-stars,
.review-stars {
    display: inline-flex;
    gap: 2px;
    color: #e39a2d;
    letter-spacing: .5px;
}

.product-rating-value {
    color: #34463c;
    font-weight: 800;
}

.product-reviews {
    color: #829087;
    font-size: .84rem;
}

.product-short-desc {
    margin: 4px 0 6px;
    color: #53655b;
    font-size: 1rem;
    line-height: 1.75;
}

.product-price-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 2px 0 4px;
}

.product-price {
    color: #1d6849;
    font-family: var(--heading-font-family, 'Outfit', sans-serif);
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.1;
}

.product-price-unit {
    margin-left: 3px;
    color: #6b7d72;
    font-size: .42em;
    font-weight: 600;
}

.product-original-price {
    color: #94a3a0;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: line-through;
}

.product-save-badge {
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff1df;
    color: #b5672d;
    font-size: .72rem;
    font-weight: 800;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 4px 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.product-stock.stock-in {
    background: #e8f5e9;
    color: #1f7a45;
}

.product-stock.stock-out {
    background: #fee2e2;
    color: #b91c1c;
}

.pd-purchase-form {
    width: 100%;
    margin: 4px 0 0;
}

.product-quantity-section {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 16px;
}

.product-quantity-section label {
    color: #34463c;
    font-size: .88rem;
    font-weight: 800;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d6e2da;
    border-radius: 9px;
    background: #fff;
}

.qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    background: #f1f7f3;
    color: #1f5e45;
    font-size: .8rem;
    transition: background .2s ease, color .2s ease;
}

.qty-btn:hover:not(:disabled) {
    background: #d9823b;
    color: #fff;
}

.qty-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.qty-input {
    width: 54px;
    height: 38px;
    border: 0;
    border-right: 1px solid #e3ebe5;
    border-left: 1px solid #e3ebe5;
    color: #1d3329;
    font-weight: 700;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn-add-to-cart,
.btn-buy-now,
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 22px;
    border: 0;
    border-radius: 11px;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-add-to-cart {
    flex: 1 1 150px;
    background: linear-gradient(135deg, #1f5e45, #2d7653);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 94, 69, .22);
}

.btn-add-to-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(31, 94, 69, .3);
}

.btn-buy-now {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #fff;
    box-shadow: 0 10px 24px rgba(234, 88, 12, .22);
}

.btn-buy-now:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(234, 88, 12, .3);
}

.btn-add-to-cart:disabled,
.btn-buy-now:disabled {
    opacity: .52;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-share {
    border: 1px solid #cfe0d5;
    background: #fff;
    color: #1f5e45;
}

.btn-share:hover {
    border-color: #1f5e45;
    background: #f0f9f4;
    transform: translateY(-2px);
}

.product-share-wrap {
    position: relative;
}

.product-share-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 20;
    min-width: 176px;
    padding: 7px;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(6, 45, 31, .16);
}

.product-share-menu[hidden] {
    display: none;
}

.product-share-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #34463c;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.product-share-option:hover {
    background: #f1f8f3;
    color: #c26626;
}

.product-share-option i {
    width: 16px;
    text-align: center;
}

.product-tabs {
    display: flex;
    gap: 6px;
    margin-top: 58px;
    overflow-x: auto;
    border-bottom: 1px solid #dce8df;
    scrollbar-width: thin;
}

.product-tab-btn {
    flex: 0 0 auto;
    margin-bottom: -1px;
    padding: 14px 22px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #78887e;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.product-tab-btn:hover {
    color: #1f5e45;
}

.product-tab-btn.active {
    border-bottom-color: #d9823b;
    color: #1d3329;
}

.product-tab-content .tab-pane {
    display: none;
    margin-top: 24px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid #e2ebe3;
    border-radius: 16px;
    background: #fff;
    color: #4b5f54;
    line-height: 1.8;
    box-shadow: 0 10px 28px rgba(6, 45, 31, .04);
}

.product-tab-content .tab-pane.active {
    display: block;
}

.product-description {
    color: #4b5f54;
    font-size: .98rem;
    line-height: 1.9;
}

.product-description p:last-child {
    margin-bottom: 0;
}

#tab-details ul {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8efe9;
    border-radius: 10px;
    background: #e8efe9;
    list-style: none;
}

#tab-details li {
    padding: 12px 16px;
    background: #fff;
    color: #4b5f54;
}

#tab-details li strong {
    color: #1d3329;
}

.reviews-ui {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviews-summary {
    margin: 0;
    padding: 15px 18px;
    border-radius: 10px;
    background: #f1f8f3;
    color: #4b5f54;
    font-size: .92rem;
}

.review-alert {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
}

.review-alert-success {
    border: 1px solid #bbf7d0;
    background: #e7f6ec;
    color: #166534;
}

.review-alert-error {
    border: 1px solid #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 17px 19px;
    border: 1px solid #e4ece6;
    border-left: 3px solid #1f5e45;
    border-radius: 10px;
    background: #fbfdfb;
}

.review-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #1f5e45;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

.review-item-head strong {
    display: block;
    color: #1d3329;
    font-size: .92rem;
}

.review-date {
    display: block;
    margin-top: 1px;
    color: #94a3a0;
    font-size: .72rem;
}

.review-title {
    margin: 0;
    color: #1d3329;
    font-weight: 800;
}

.review-text {
    margin: 0;
    color: #53655b;
    font-size: .92rem;
    line-height: 1.7;
}

.review-buyer {
    color: #94a3a0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.review-form-box {
    margin-top: 10px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid #dce8df;
    border-radius: 14px;
    background: #f7faf5;
}

.review-form-box h3 {
    margin: 0 0 4px;
    color: #1d3329;
    font-size: 1.25rem;
    font-weight: 800;
}

.review-form-note {
    margin: 0 0 16px;
    color: #829087;
    font-size: .8rem;
}

.review-form-field {
    margin-bottom: 15px;
}

.review-form-field label {
    display: block;
    margin-bottom: 7px;
    color: #34463c;
    font-size: .82rem;
    font-weight: 800;
}

.review-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.review-form-row .review-form-field {
    flex: 1 1 220px;
}

.review-form-field input[type="text"],
.review-form-field input[type="email"],
.review-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd9cf;
    border-radius: 8px;
    background: #fff;
    color: #1d3329;
    font: inherit;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.review-form-field input:focus,
.review-form-field textarea:focus {
    border-color: #d9823b;
    box-shadow: 0 0 0 3px rgba(217, 130, 59, .14);
}

.rate-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
    direction: rtl;
}

.rate-stars input {
    display: none;
}

.rate-stars label {
    margin: 0;
    color: #d8d2c6;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease;
}

.rate-stars label:hover,
.rate-stars label:hover ~ label,
.rate-stars input:checked ~ label {
    color: #e39a2d;
}

.btn-review-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: #1f5e45;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.btn-review-submit:hover {
    background: #d9823b;
    transform: translateY(-2px);
}

.product-faqs-section h2 {
    margin: 0 0 18px;
    color: #24342c;
    font-family: var(--heading-font-family, 'Outfit', sans-serif);
    font-size: 1.55rem;
    font-weight: 800;
}

.faq-item {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e9e2;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 16px rgba(31, 42, 38, .07);
}

.faq-item.active {
    border-color: #d9823b;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 17px;
    background: #fafbfa;
    color: #24342c;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-question:hover {
    background: #f0f3ef;
}

.faq-item.active .faq-question {
    background: #fff1df;
    color: #b5672d;
}

.faq-question i {
    flex: 0 0 auto;
    color: #829087;
    font-size: .7rem;
    transition: transform .25s ease, color .25s ease;
}

.faq-item.active .faq-question i {
    color: #b5672d;
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 17px;
}

.faq-answer p {
    margin: 0;
    padding: 13px 0;
    color: #53655b;
    font-size: .84rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.related-section {
    margin-top: 62px;
}

.related-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.related-section h2 {
    margin: 0;
    color: #24342c;
    font-family: var(--heading-font-family, 'Outfit', sans-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
}

.related-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1f5e45;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.related-section-head a:hover {
    color: #d9823b;
}

.product-cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    width: min(430px, calc(100% - 32px));
    padding: 14px 16px;
    border: 1px solid #d6e4d9;
    border-radius: 14px;
    background: #fff;
    color: #1d3329;
    box-shadow: 0 18px 50px rgba(20, 45, 33, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.product-cart-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-cart-toast > i {
    color: #1f6849;
    font-size: 24px;
}

.product-cart-toast.is-error > i {
    color: #dc2626;
}

.product-cart-toast strong,
.product-cart-toast span {
    display: block;
}

.product-cart-toast strong {
    font-size: .84rem;
}

.product-cart-toast span {
    margin-top: 2px;
    color: #718078;
    font-size: .75rem;
}

.product-cart-toast a {
    padding: 8px 12px;
    border-radius: 999px;
    background: #1f5e45;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.product-cart-toast button {
    border: 0;
    background: transparent;
    color: #718078;
}

@media (max-width: 991.98px) {
    .product-details-content {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .product-main-image-wrapper {
        min-height: 0;
    }

    .product-main-img {
        height: min(84vw, 520px);
    }

    .product-info {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .product-details-page {
        padding: 34px 0 64px;
    }

    .product-info h1 {
        font-size: 1.95rem;
    }

    .product-main-img {
        height: min(78vw, 430px);
    }

    .product-tabs {
        margin-top: 38px;
    }

    .product-tab-btn {
        padding: 12px 16px;
        font-size: .84rem;
    }

    .product-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-actions .btn-add-to-cart,
    .product-actions .btn-buy-now,
    .product-actions .btn-share,
    .product-share-wrap {
        width: 100%;
    }

    .product-actions .btn-add-to-cart {
        grid-column: 1 / -1;
    }

    .product-share-menu {
        right: 0;
        left: auto;
    }

    .review-form-row {
        gap: 0;
    }
}

@media (max-width: 575.98px) {
    .product-details-page {
        padding: 26px 0 54px;
    }

    .product-main-image-wrapper {
        padding: 12px;
        border-radius: 14px;
    }

    .product-badge {
        top: 18px;
        right: 18px;
    }

    .product-main-img {
        height: 76vw;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .product-actions .btn-add-to-cart {
        grid-column: auto;
    }

    .product-quantity-section {
        justify-content: space-between;
    }

    .product-tab-content .tab-pane {
        border-radius: 12px;
    }

    .product-cart-toast {
        right: 16px;
        bottom: 16px;
        grid-template-columns: auto 1fr auto;
    }

    .product-cart-toast a {
        grid-column: 2;
    }

    .related-section-head {
        align-items: flex-end;
    }

    .related-section h2 {
        font-size: 1.45rem;
    }
}
