/* ==========================================================================
   SHOP PAGE — Redesigned with Taxonomy & Sub-navbar
   ========================================================================== */

/* Sub Navbar */
.shop-subnav {
    display: flex;
    gap: 0;
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.shop-subnav-link {
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.3s, border-color 0.3s;
}

.shop-subnav-link:hover {
    color: var(--green);
}

.shop-subnav-link.active {
    color: var(--green);
    font-weight: 600;
    border-bottom-color: var(--green);
}

@media (max-width: 600px) {
    .shop-subnav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .shop-subnav-link {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Layout */
.shop-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .shop-container {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        display: none;
    }
}

/* Sidebar */
.shop-sidebar {
    position: sticky;
    top: 40px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

/* Filter Tree (nested accordion) */
.filter-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-tree > .ft-item,
.filter-tree > .ft-parent {
    margin-bottom: 6px;
}

.ft-item {
    padding: 6px 10px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.ft-item:hover {
    background: rgba(62,107,39,0.06);
    color: var(--green);
}

.ft-item.active {
    background: rgba(62,107,39,0.1);
    color: var(--green);
    font-weight: 600;
}

.ft-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.ft-toggle:hover {
    background: rgba(62,107,39,0.06);
    color: var(--green);
}

.ft-toggle.active {
    color: var(--green);
}

.ft-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
    display: inline-block;
}

.ft-parent.open .ft-arrow {
    transform: rotate(90deg);
}

.ft-children {
    list-style: none;
    padding-left: 12px;
    margin-top: 4px;
    border-left: 2px solid rgba(62,107,39,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ft-parent.open .ft-children {
    max-height: 300px;
}

/* Main Content Grid */
.shop-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.shop-results-info {
    font-size: 0.9rem;
    color: var(--ink-faded);
}

.shop-sort select {
    padding: 8px 14px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    background-color: #fff;
    color: var(--ink-soft);
    cursor: pointer;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

/* ==========================================================================
   Product Card — redesigned
   ========================================================================== */
.product-card {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(20,20,10,0.04);
    transition: box-shadow 0.35s var(--ease, ease), transform 0.35s var(--ease, ease), border-color 0.35s ease;
}

.product-card:hover {
    box-shadow: 0 18px 34px rgba(20, 30, 10, 0.12);
    transform: translateY(-6px);
    border-color: rgba(62,107,39,0.15);
}

/* Image area: full artwork visible, no cropping, no grey box */
.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FBF8F2 0%, #F5F0E6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* show the whole image, nothing cropped */
    object-position: center;
    padding: 10px;
    transition: transform 0.5s var(--ease, ease);
}

.product-card:hover .product-img-wrapper img.thumbnail,
.product-card:hover .product-img-wrapper > img:only-child {
    transform: scale(1.04);
}

/* Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
    border-radius: 999px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.badge-choice { background-color: #3E6B27; }
.badge-bestseller { background-color: #C1682B; }

/* Product Details */
.product-info {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.product-brand {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-faded);
    margin-bottom: 5px;
}

.product-title {
    font-family: var(--font-heading, var(--font-serif));
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-specs {
    font-size: 0.78rem;
    color: var(--ink-faded);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-rating {
    font-size: 0.8rem;
    color: var(--ink-faded);
    margin-bottom: 10px;
}
.star-color { color: #FFA41C; }

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    margin-top: auto;
}

.product-delivery {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

/* ============ DUMMY PAGES (Corporate/Custom/Bulk) ============ */
.shop-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.shop-page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.shop-page-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.shop-page-content ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.shop-page-content ul li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.shop-page-content ul li strong {
    color: var(--ink);
}

.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--green);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background: #2d5a18;
    transform: translateY(-2px);
}


/* ==========================================================================
   Cart Controls — redesigned button
   ========================================================================== */
.cart-controls {
    margin-top: 0;
}

.btn-add-cart {
    width: 100%;
    background: #2B4A1D;
    background: linear-gradient(180deg, #35591F 0%, #263F17 100%);
    color: #F5EFDE;
    border: none;
    padding: 11px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 10px rgba(38, 63, 23, 0.25);
    transition: box-shadow 0.25s ease, transform 0.15s ease, background 0.25s ease;
}

.btn-add-cart:hover {
    box-shadow: 0 6px 16px rgba(38, 63, 23, 0.35);
    transform: translateY(-1px);
    background: linear-gradient(180deg, #3E6B27 0%, #2B4A1D 100%);
}

.btn-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(38, 63, 23, 0.3);
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.product-price-row .product-price {
    margin: 0;
}

.btn-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    color: var(--green);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn-cart-icon:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(62,107,39,0.25);
}

.btn-view-details {
    width: 100%;
    margin-top: 10px;
    padding: 11px 16px;
    background: transparent;
    border: 1.5px solid var(--green);
    border-radius: 10px;
    color: var(--green);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-view-details:hover {
    background: var(--green);
    color: #F5EFDE;
}

.qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #F1EAD6;
    padding: 6px 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}
.qty-control button {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qty-control button:hover {
    background: #fff8ea;
}
.qty-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    color: var(--ink);
}

/* Image Hover Effects */
.multiple-images {
    position: relative;
    overflow: hidden;
}
.multiple-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.multiple-images img.thumbnail {
    position: relative;
    opacity: 1;
    z-index: 1;
}

/* On hover, cycle through remaining images */
.product-card:hover .multiple-images img.thumbnail {
    opacity: 0;
}
.product-card:hover .multiple-images img.hover-img {
    animation: imageCycle 10s infinite;
    opacity: 1;
    z-index: 2;
}

@keyframes imageCycle {
    0%, 100% { opacity: 1; }
}
/* If there are more images, adjust keyframes, but for 2 images (1 thumb, 1 hover), simple opacity works */


/* ==========================================================================
   Product Details Page — Amazon-style gallery, details & reviews
   ========================================================================== */
.product-details-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 20px;
    align-items: start;
}

/* -- Gallery: big active image + small thumbnails -- */
.pd-gallery {
    position: sticky;
    top: 40px;
    align-self: start;
}

.pd-main-image {
    background: linear-gradient(180deg, #FBF8F2 0%, #F5F0E6 100%);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 18px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: opacity 0.2s ease;
}

.pd-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.pd-thumb {
    width: 78px;
    height: 78px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-thumb:hover {
    border-color: rgba(62,107,39,0.4);
}

.pd-thumb.active {
    border-color: var(--green);
    box-shadow: 0 2px 8px rgba(62,107,39,0.25);
}

/* -- Info column -- */
.product-info-full {
    display: flex;
    flex-direction: column;
}

.pd-brand {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faded);
    margin-bottom: 6px;
}

.product-title-large {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 10px;
    line-height: 1.15;
}

.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pd-stars {
    color: #FFA41C;
    letter-spacing: 2px;
    font-size: 1rem;
    line-height: 1;
}

.pd-stars-lg {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-top: 6px;
}

.pd-rating-link {
    color: var(--green);
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px dotted rgba(62,107,39,0.5);
}

.pd-rating-link:hover {
    color: #2d5a18;
}

.pd-badge {
    background: #3E6B27;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 800;
    color: #B12704;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 2px;
}

.pd-mrp {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink-faded);
    text-decoration: line-through;
}

.pd-off {
    font-size: 0.95rem;
    font-weight: 700;
    color: #007600;
}

.pd-tax {
    font-size: 0.78rem;
    color: var(--ink-faded);
    margin-bottom: 12px;
}

.pd-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007600;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.pd-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2E8B57;
    box-shadow: 0 0 0 3px rgba(46,139,87,0.15);
}

.pd-description p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 4px;
}

.pd-subhead {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 18px 0 8px;
    color: var(--ink);
}

.product-features {
    list-style-type: disc;
    margin-left: 18px;
    margin-top: 6px;
}

.product-features li {
    margin-bottom: 7px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.product-features li strong {
    color: var(--ink);
}

/* -- Buy actions -- */
.cart-controls-large {
    margin-top: 22px;
}

.cart-controls-large .cart-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-add-cart-large {
    flex: 1;
    font-size: 1rem;
    padding: 13px 20px;
    background: #FFD814;
    background: linear-gradient(180deg, #FFE14D 0%, #F7CA00 100%);
    color: #0F1111;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-add-cart-large:hover {
    background: linear-gradient(180deg, #FFE14D 0%, #F3B500 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.qty-control-large {
    flex: 1;
    width: auto;
    justify-content: center;
    font-size: 1.15rem;
    padding: 8px 12px;
}

.qty-control-large button {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
}

.btn-buy-now {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    background: #FFA41C;
    background: linear-gradient(180deg, #FFB64C 0%, #FF8F00 100%);
    color: #0F1111;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: box-shadow 0.25s ease, transform 0.15s ease, background 0.25s ease;
}

.btn-buy-now:hover {
    background: linear-gradient(180deg, #FFB64C 0%, #F27F00 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.pd-ship-box {
    margin-top: 22px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    background: #FBF8F2;
    display: grid;
    gap: 7px;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.pd-ship-box strong {
    color: var(--ink);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.pd-reviews {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.pd-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-write-review {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(62,107,39,0.25);
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-write-review:hover {
    background: #2d5a18;
    transform: translateY(-1px);
}

.pd-review-summary {
    display: flex;
    align-items: center;
    gap: 48px;
    background: #FBF8F2;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.pd-summary-left {
    text-align: center;
    min-width: 120px;
}

.pd-summary-score {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.pd-summary-total {
    font-size: 0.85rem;
    color: var(--ink-faded);
    margin-top: 4px;
}

.pd-summary-bars {
    flex: 1;
    min-width: 240px;
    display: grid;
    gap: 7px;
}

.pd-bar-row {
    display: grid;
    grid-template-columns: 46px 1fr 40px;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--ink-faded);
}

.pd-bar {
    height: 9px;
    background: #EAE3D3;
    border-radius: 99px;
    overflow: hidden;
}

.pd-bar-fill {
    display: block;
    height: 100%;
    background: #FFA41C;
    border-radius: 99px;
}

/* -- Toolbar -- */
.pd-review-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.pd-review-filters,
.pd-review-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-toolbar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.pd-chip {
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    border-radius: 999px;
    padding: 6px 13px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--ink-soft);
    transition: all 0.2s ease;
}

.pd-chip:hover {
    border-color: var(--green);
    color: var(--green);
}

.pd-chip.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.pd-review-sort select {
    padding: 7px 12px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    background: #fff;
    color: var(--ink-soft);
    cursor: pointer;
}

/* -- Review cards -- */
.pd-review-list {
    display: grid;
    gap: 16px;
}

.pd-review-card {
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(20,20,10,0.04);
}

.pd-rc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.pd-rc-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
}

.pd-rc-verified {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #007600;
}

.pd-rc-stars {
    color: #FFA41C;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 4px;
}

.pd-rc-date {
    color: var(--ink-faded);
    font-size: 0.78rem;
    letter-spacing: 0;
}

.pd-rc-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    margin: 10px 0 4px;
}

.pd-rc-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.pd-rc-helpful {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--ink-faded);
}

.btn-helpful {
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    cursor: pointer;
    color: var(--ink-soft);
    transition: all 0.2s ease;
}

.btn-helpful:hover {
    border-color: var(--green);
    color: var(--green);
}

.pd-no-reviews {
    color: var(--ink-faded);
    font-size: 0.9rem;
    padding: 10px 0;
}

/* -- Write a review form -- */
.pd-review-form {
    margin-top: 26px;
    border: 1px solid rgba(62,107,39,0.25);
    background: #FBF8F2;
    border-radius: 16px;
    padding: 24px;
}

.pd-review-form h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.pd-form-hint {
    color: #B12704;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.pd-form-grid {
    display: grid;
    gap: 12px;
}

.pd-form-grid input,
.pd-form-grid textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--ink);
    background: #fff;
}

.pd-form-grid input:focus,
.pd-form-grid textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(62,107,39,0.12);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars-input {
    font-size: 1.6rem;
    color: #D8CFBD;
    cursor: pointer;
    letter-spacing: 4px;
    user-select: none;
    line-height: 1;
}

.stars-input span {
    transition: color 0.15s ease;
}

.stars-input span:hover,
.stars-input span.sel {
    color: #FFA41C;
}

.pd-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-submit-review {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-submit-review:hover {
    background: #2d5a18;
    transform: translateY(-1px);
}

.btn-cancel-review {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    padding: 11px 22px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--ink-soft);
    transition: all 0.2s ease;
}

.btn-cancel-review:hover {
    border-color: var(--green);
    color: var(--green);
}

/* -- Responsive -- */
@media (max-width: 900px) {
    .product-details-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .pd-gallery {
        position: static;
    }
    .cart-controls-large .cart-controls {
        flex-wrap: wrap;
    }
    .btn-add-cart-large,
    .btn-buy-now {
        flex: 1 1 100%;
    }
}