/*
 * WoodCraftCorner — WooCommerce Modern Artisan Overrides
 * Extends the main style.css theme for all WooCommerce pages.
 */

/* ── Shop Nav: Cart CTA button (yellow pill, same as "Free Plans") ──────── */
.shop-cart-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    padding: 0.55rem 1.2rem !important;
    border-radius: var(--radius-pill) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s !important;
    border: none !important;
    cursor: pointer;
}
.shop-cart-cta:hover {
    background-color: #EAB308 !important;
    color: #3b2a1a !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}
/* Cart count badge on the CTA */
.shop-cart-cta__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    background: #3b2a1a;
    color: #FACC15;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 50%;
    margin-left: 0.1rem;
}

/* ── Back-to-site bar below the pill nav ─────────────────────────────────── */
.shop-back-bar {
    background: #3b2a1a;      /* matches pill bg so it looks like a sub-strip */
    text-align: center;
    padding: 0.28rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.shop-back-bar__link {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s;
}
.shop-back-bar__link:hover { color: #FACC15; text-decoration: none; }

/* ── Shop header inherits the dark nav-container pill from main style.css ── */

/* Shop header height handled by existing sticky offset in style.css */


/* Global breadcrumbs now handled in main style.css for consistency */

/* ── WC Page Hero (Cart / Checkout / Account) ──────────────────────────── */
.wc-page-hero {
	background: linear-gradient(135deg, #FDF8F1 0%, #F4E4BC 100%);
	padding: 4rem 0 3.5rem;
	text-align: center;
	border-bottom: 1px solid rgba(59, 42, 26, 0.1);
	margin-bottom: 0;
}
.wc-page-hero__title {
	font-size: 2.75rem;
	font-weight: 700;
	color: #3b2a1a;
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}
.wc-page-hero__subtitle {
	font-size: 1.1rem;
	color: rgba(59, 42, 26, 0.65);
	margin: 0;
}

/* ── WC Notices ────────────────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 8px;
	margin-bottom: 2rem !important;
}
.woocommerce-message { border-top-color: #C86433 !important; }
.woocommerce-message::before { color: #C86433 !important; }

/* ── Global Buttons ────────────────────────────────────────────────────── */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
	background: var(--primary) !important;
	color: var(--secondary) !important;
	border-radius: var(--radius-pill) !important;
	padding: 0.75rem 1.75rem !important;
	font-weight: 700 !important;
	font-family: 'Inter', sans-serif !important;
	border: none !important;
	cursor: pointer;
	transition: background 0.2s ease !important;
	text-decoration: none;
	display: inline-block;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
	background: var(--primary-alt) !important;
	color: var(--secondary) !important;
}
.woocommerce .btn--full { width: 100%; text-align: center; display: block; }
.woocommerce .btn-outline {
	background: transparent !important;
	color: #C86433 !important;
	border: 2px solid #C86433 !important;
}
.woocommerce .btn-outline:hover {
	background: #C86433 !important;
	color: #fff !important;
}
.woocommerce .btn-ghost {
	background: transparent !important;
	color: #3b2a1a !important;
	border: 1px solid rgba(59,42,26,0.2) !important;
}
.woocommerce .btn-ghost:hover {
	background: rgba(59,42,26,0.05) !important;
}

/* ── Shop Archive (archive-product.php) ────────────────────────────────── */
.pshop-hero {
	background: var(--bg-wood);
	padding: 5rem 0 4rem;
	text-align: center;
	border-bottom: 1px solid rgba(44,30,22,0.06);
    position: relative;
    overflow: hidden;
}
.pshop-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.pshop-hero__badge {
    display: inline-block;
    background: var(--white);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.pshop-hero__title {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	color: var(--secondary);
	letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.pshop-hero__sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Search Bar in Hero */
.pshop-hero__search {
    max-width: 500px;
    margin: 0 auto 2.5rem;
}
.pshop-hero__search-wrap {
    display: flex;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    position: relative;
}
.pshop-hero__search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.pshop-hero__search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 1rem 0.5rem 3rem !important;
    font-size: 1rem !important;
}
.pshop-hero__search-input:focus {
    box-shadow: none !important;
}
/* ── Cart Page ─────────────────────────────────────────────────────────── */
.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 3rem;
	align-items: flex-start;
}
@media (max-width: 900px) { .woocommerce-cart .woocommerce { grid-template-columns: 1fr; gap: 2rem; } }

/* Modern Cart Table */
.pcart-table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: separate;
    border-spacing: 0;
}
.pcart-table th {
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(44,30,22,0.1);
    text-align: left;
}
.pcart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px dashed rgba(44,30,22,0.1);
    vertical-align: middle;
}
.pcart-table tbody tr:last-child td { border-bottom: none; }

.pcart-table .product-remove { width: 40px; }
.pcart-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-warm);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}
.pcart-remove:hover { background: #fee2e2; color: #ef4444; }
.pcart-remove svg { width: 14px; height: 14px; }

.pcart-table .product-thumbnail { width: 80px; padding-left: 0; padding-right: 1.5rem; }
.pcart-table .product-thumbnail img {
    width: 80px; height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.pcart-table .product-name { font-weight: 700; color: var(--text-dark); }
.pcart-name-link { color: var(--text-dark); text-decoration: none; font-size: 1.05rem; }
.pcart-name-link:hover { color: var(--accent); }

.pcart-table .product-price, .pcart-table .product-subtotal { font-weight: 800; color: var(--secondary); }

/* Cart Quantity Input */
.pcart-table .quantity .qty {
    width: 60px;
    height: 40px;
    padding: 0 0.5rem;
    border: 1px solid rgba(44,30,22,0.1);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    -moz-appearance: textfield;
    appearance: textfield;
}
.pcart-table .quantity .qty::-webkit-outer-spin-button,
.pcart-table .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Cart Actions Row (Coupon/Update) */
.pcart-table .actions {
    background: var(--bg-warm);
    padding: 1.5rem !important;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(44,30,22,0.06);
    margin-top: 1rem;
}
.pcart-table .actions .coupon { display: flex; gap: 0.5rem; }
.pcart-table .actions .coupon input {
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(44,30,22,0.1);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Cart Summary block */
.pcart-summary {
    position: sticky;
    top: 100px;
    background: var(--white);
    border: 1px solid rgba(44,30,22,0.06);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.cart_totals h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(44,30,22,0.06);
    color: var(--secondary);
}
.cart_totals table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 2rem; }
.cart_totals th, .cart_totals td { padding: 1rem 0; border-bottom: 1px dashed rgba(44,30,22,0.1); }
.cart_totals th { font-weight: 500; color: var(--text-muted); text-align: left; }
.cart_totals td { font-weight: 700; color: var(--secondary); text-align: right; }
.cart_totals .order-total th, .cart_totals .order-total td {
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: 800;
    padding-top: 1.5rem;
    color: var(--secondary);
}

.wc-proceed-to-checkout { margin-top: 2rem; }
.wc-proceed-to-checkout .checkout-button {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    border-radius: var(--radius-pill) !important;
    padding: 1.15rem 1.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    display: block;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth) !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
    background: var(--primary-alt) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cart Trust Banner */
.pcart-summary__trust {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44,30,22,0.06);
    display: flex;
    justify-content: center;
}
.pcart-summary__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.pcart-summary__trust-icon { color: var(--accent); width: 16px; height: 16px; }
.pshop-hero__search-btn {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.pshop-hero__search-btn:hover { background: var(--primary-alt); }

/* Hero Trust Seals */
.pshop-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Shop Layout (Sidebar + Grid) */
.pshop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 4rem 0 6rem;
    align-items: flex-start;
}
@media (max-width: 900px) { .pshop-layout { grid-template-columns: 1fr; } }

/* Sidebar */
.pshop-sidebar {
    position: sticky;
    top: 100px;
}
.pshop-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(44,30,22,0.04);
}
.pshop-widget__title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Categories List */
.pshop-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pshop-cat-item { margin-bottom: 0.5rem; }
.pshop-cat-item:last-child { margin-bottom: 0; }
.pshop-cat-item__link {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
}
.pshop-cat-item.is-active .pshop-cat-item__link,
.pshop-cat-item__link:hover {
    background: var(--bg-warm);
    color: var(--accent);
}
.pshop-cat-item__icon { margin-right: 0.75rem; font-size: 1.1rem; }
.pshop-cat-item__count {
    margin-left: auto;
    background: var(--bg-wood);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-pill);
    color: var(--secondary);
    font-weight: 700;
}

/* Price Filter */
.pshop-price-filter__links { display: flex; flex-direction: column; gap: 0.5rem; }
.pshop-price-filter__link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 0.4rem 0;
    transition: color 0.2s;
}
.pshop-price-filter__link:hover { color: var(--accent); }
.pshop-price-filter__link--clear { color: var(--text-muted); font-size: 0.85rem; text-decoration: underline; margin-top: 0.5rem; }

/* Promo Badge */
.pshop-widget--promo {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a120d 100%);
    color: var(--white);
    border: none;
}
.pshop-promo-badge { display: flex; gap: 1rem; align-items: flex-start; }
.pshop-promo-badge__icon { font-size: 1.5rem; color: var(--primary); }
.pshop-promo-badge__text strong { display: block; font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; }
.pshop-promo-badge__text span { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* Main Grid Toolbar */
.pshop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(44,30,22,0.06);
}
.pshop-toolbar__right { display: flex; align-items: center; gap: 1rem; }
.pshop-view-toggle { display: flex; background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(44,30,22,0.1); }
.pshop-view-btn {
    background: none; border: none; padding: 0.4rem 0.8rem; font-size: 1.2rem; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.pshop-view-btn.is-active { background: var(--secondary); color: var(--white); }
.woocommerce .woocommerce-ordering select {
	border: 1px solid rgba(44,30,22,0.1);
	border-radius: var(--radius-md);
	padding: 0.6rem 2.5rem 0.6rem 1rem;
	font-family: inherit;
	color: var(--text-dark);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center/1em;
    appearance: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pagination Consitency */
.pshop-pagination nav.woocommerce-pagination {
    text-align: center;
    margin-top: 4rem;
}

.pshop-pagination nav.woocommerce-pagination ul {
    border: none !important;
    display: flex !important;
    justify-content: center;
    gap: 0.65rem;
}

.pshop-pagination nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
}

.pshop-pagination nav.woocommerce-pagination ul li a,
.pshop-pagination nav.woocommerce-pagination ul li span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: var(--white) !important;
    color: var(--secondary) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: 1.5px solid var(--bg-wood) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.pshop-pagination nav.woocommerce-pagination ul li span.current {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.pshop-pagination nav.woocommerce-pagination ul li a:hover {
    background: var(--bg-wood) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Empty State */
.pshop-empty { text-align: center; padding: 4rem 0; }
.pshop-empty__icon { font-size: 4rem; opacity: 0.3; margin-bottom: 1rem; }
.pshop-empty p { margin-bottom: 2rem; color: var(--text-muted); }

/* Reassurance Strip */
.pshop-reassurance {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid rgba(44,30,22,0.06);
}
.pshop-reassurance__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) { .pshop-reassurance__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pshop-reassurance__grid { grid-template-columns: 1fr; } }
.pshop-reassurance__item { text-align: center; }
.pshop-reassurance__icon { display: block; font-size: 2rem; margin-bottom: 1rem; }
.pshop-reassurance__item strong { display: block; font-size: 1rem; color: var(--secondary); margin-bottom: 0.5rem; }
.pshop-reassurance__item span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; display: block; }


/* ── Product Card ──────────────────────────────────────────────────────── */
.woocommerce ul.products li.product {
	background: var(--white);
	border: 1px solid rgba(44,30,22,0.06);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: var(--transition-smooth);
	width: auto !important;
	float: none !important;
	margin: 0 !important;
    position: relative;
    display: flex;
    flex-direction: column;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
    border-color: rgba(44,30,22,0.1);
}

/* Image Wrapper & Overlay */
.pc-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-wood);
}
.woocommerce ul.products li.product a.pc-card__link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pc-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce ul.products li.product:hover .pc-card__img { transform: scale(1.05); }

/* Badges */
.pc-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}
.pc-card__badge--sale { background: var(--accent); color: var(--white); }
.pc-card__badge--download { background: rgba(255,255,255,0.9); color: var(--secondary); box-shadow: var(--shadow-sm); top: 1rem; right: 1rem; left: auto; }

/* Slide-up Action Overlay */
.pc-card__action-overlay {
    position: absolute;
    bottom: -60px; /* Hidden initially */
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}
.woocommerce ul.products li.product:hover .pc-card__action-overlay { bottom: 0; }
.pc-card__quick-btn {
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-md);
    font-size: 0.95rem !important;
    padding: 0.65rem 1rem !important;
}

/* Card Body */
.pc-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pc-card__meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}
.pc-card__cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Compact Stars */
.pc-card__stars-compact {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.pc-star { color: var(--accent); }
.pc-rating-val { font-weight: 700; color: var(--secondary); }
.pc-review-cnt { font-size: 0.8rem; }

/* Title */
.pc-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Price */
.pc-card__price {
    margin-top: auto;
}
.woocommerce ul.products li.product .price {
	color: var(--secondary) !important;
	font-weight: 800;
	font-size: 1.15rem;
	margin: 0;
    padding: 0;
}
.woocommerce ul.products li.product .price del { 
    color: var(--text-muted); 
    font-weight: 500; 
    font-size: 0.9rem; 
    margin-right: 0.5rem;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--accent);
}

/* ── Single Product Page: Clean specification ───────────────────────────────── */
.sp-page { background: var(--bg-warm); }

/* ── Single Product Page Breadcrumbs relocated to summary ──────────────── */

/* Base Layout Container (1040px Elite Standard) */
.sp-column-layout {
    display: grid !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
    grid-template-columns: 1.2fr 340px !important;
    gap: 3.5rem !important;
    padding: 3rem 1.5rem !important;
    align-items: flex-start !important;
}

@media (max-width: 1024px) {
    .sp-column-layout { gap: 2rem !important; }
}

@media (max-width: 900px) {
    .sp-column-layout { 
        grid-template-columns: 1fr !important; 
        gap: 2.5rem !important; 
        padding-top: 2rem !important;
    }
}

/* Custom Artisan Gallery */
.sp-gallery__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sp-gallery__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f5f1ec;
    border: 1px solid rgba(44,30,22,0.08);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), inset 0 0 40px rgba(0,0,0,0.02);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-gallery__hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sp-gallery__main:hover .sp-gallery__hint {
    opacity: 1;
    bottom: 2rem;
}

.sp-gallery__hint svg { width: 14px; height: 14px; }

.sp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-gallery__main.is-swapping img { opacity: 0.15; }

.sp-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 1rem;
}

.sp-gallery__thumb {
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f5f1ec;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1/1;
    position: relative;
}

.sp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-gallery__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--secondary);
    opacity: 0;
    transition: opacity 0.2s;
}

.sp-gallery__thumb:hover {
    border-color: rgba(200,100,51,0.3);
    transform: translateY(-3px);
}

.sp-gallery__thumb.is-active {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(200,100,51,0.25);
    transform: scale(1.05);
}

.sp-gallery__thumb.is-active::after { opacity: 0.08; }

/* Product Summary Panel */
.sp-summary { display: flex; flex-direction: column; }

.sp-summary__cats {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.sp-summary__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.sp-summary__rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(44,30,22,0.06);
}

.sp-summary__review-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sp-summary__price-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.sp-summary__price-block .price {
    font-size: 2.25rem !important;
    color: var(--secondary) !important;
    font-weight: 800 !important;
    margin: 0;
    letter-spacing: -0.01em;
}

.sp-summary__price-block .price del { 
    font-size: 1.25rem; 
    color: var(--text-muted) !important; 
    font-weight: 500; 
}

.sp-summary__price-block .price ins { text-decoration: none; color: var(--accent); }

.sp-summary__type-pill {
    background: rgba(217, 119, 6, 0.08);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.sp-summary__desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Feature List Highlights */
.sp-feature-list {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(44,30,22,0.06);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.sp-feature-list__title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sp-feature-list__items { list-style: none; padding: 0; margin: 0; }

.sp-feature-list__items li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.sp-feature-list__icon {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
}

/* Social Proof Banner */
.sp-social-proof {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: var(--secondary);
    margin: 1.5rem 0 2.5rem;
    justify-content: center;
    background: rgba(250, 204, 21, 0.08);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(250, 204, 21, 0.15);
}

.sp-social-proof__dot {
    width: 10px; height: 10px;
    background: #10B981;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.sp-social-proof__dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2.5px solid #10B981;
    animation: sp-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes sp-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* ATC Section Refinement */
.sp-summary__atc .cart { 
    display: flex !important; 
    align-items: center !important; 
    gap: 1rem !important; 
    margin-bottom: 1.5rem !important;
}

.sp-summary__atc .quantity { 
    display: block !important; 
}

.sp-summary__atc .quantity input.qty {
    width: 66px !important;
    height: 54px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid rgba(44,30,22,0.12) !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: var(--secondary) !important;
    background: #fdfdfc !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: var(--transition-smooth) !important;
}

.sp-summary__atc .quantity input.qty:focus {
    border-color: var(--accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(217,119,6,0.1) !important;
}

/* Custom Add to Cart Button with Shimmer (Synced to Primary Yellow) */
.sp-summary__atc .single_add_to_cart_button {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    border-radius: var(--radius-pill) !important;
    padding: 1rem 3rem !important;
    height: 54px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.2) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: -0.01em;
}

.sp-summary__atc .single_add_to_cart_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: all 0.6s;
    animation: sp-shimmer 3s infinite;
}

@keyframes sp-shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.sp-summary__atc .single_add_to_cart_button:hover {
    background: var(--primary-alt) !important;
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.35) !important;
}

/* Payment Trust Badges */
.sp-payment-trust {
    margin: 1.5rem 0 2rem;
    text-align: center;
    padding: 1.25rem;
    background: rgba(44,30,22,0.02);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(44,30,22,0.08);
}

.sp-payment-trust__icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.85;
    filter: grayscale(0.2);
}

.sp-payment-trust__icons img {
    height: 22px;
    width: auto;
}

.sp-payment-trust__text {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.sp-payment-trust__text::before,
.sp-payment-trust__text::after {
    content: '';
    height: 1px;
    background: rgba(44,30,22,0.1);
    flex: 1;
    max-width: 40px;
}

/* Trust Seals below gallery */
.sp-gallery__seals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(44,30,22,0.06);
}

@media (max-width: 640px) { .sp-gallery__seals { grid-template-columns: 1fr; gap: 1.5rem; } }

.sp-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.sp-seal__icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fdfaf7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(59,42,26,0.05);
    border: 1px solid rgba(200,100,51,0.1);
    transition: all 0.3s ease;
}

.sp-seal:hover .sp-seal__icon { transform: scale(1.1); border-color: var(--accent); background: var(--white); }
.sp-seal__icon svg { width: 20px; height: 20px; stroke-width: 2.5px; }

.sp-seal__text strong { display: block; font-size: 0.85rem; color: var(--secondary); margin-bottom: 0.25rem; font-weight: 800; }
.sp-seal__text span { display: block; font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }

/* Product Tabs & Related Blocks */
.sp-tabs-section, .sp-related-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(44,30,22,0.06);
}

.sp-tabs-section .container, .sp-related-section .container {
    max-width: 1040px;
    margin: 0 auto;
}

.woocommerce-tabs ul.tabs {
    border-bottom: 2px solid rgba(44,30,22,0.08);
    margin-bottom: 3rem !important;
    display: flex;
    gap: 3rem;
}

.woocommerce-tabs ul.tabs li { background: none !important; border: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }

.woocommerce-tabs ul.tabs li a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 1rem 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a { color: var(--secondary); }
.woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-pill);
}

.woocommerce-Tabs-panel { color: var(--text-muted); line-height: 1.8; font-size: 1.05rem; }

/* Related Products Header */
.sp-related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(44,30,22,0.06);
}

.sp-related-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.sp-related-header__link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sp-related-header__link:hover { color: var(--secondary); }

@media (max-width: 640px) {
    .sp-related-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Sticky Add to Cart: Premium Float */
.sp-sticky-atc {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 150%);
    width: 90%;
    max-width: 900px;
    background: var(--white);
    border: 1px solid rgba(44,30,22,0.1);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: var(--radius-pill);
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-sticky-atc.is-visible { transform: translate(-50%, 0); }

.sp-sticky-atc__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sp-sticky-atc__info { display: flex; align-items: center; gap: 1.25rem; flex: 1; overflow: hidden; }
.sp-sticky-atc__img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.sp-sticky-atc__title { 
    font-size: 0.95rem; 
    font-weight: 800; 
    color: var(--secondary); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.sp-sticky-atc__price .price { font-size: 1.25rem !important; font-weight: 800 !important; color: var(--accent) !important; margin: 0; }

@media (max-width: 768px) {
    .sp-sticky-atc { bottom: 1rem; width: 95%; padding: 0.5rem 1rem; }
    .sp-sticky-atc__title, .sp-sticky-atc__img { display: none; }
    .sp-sticky-atc__inner { gap: 1rem; }
}
.trust-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #3b2a1a;
	text-align: center;
}
.trust-badge__icon { font-size: 1.4rem; }
.wc-trust-badges--checkout { flex-wrap: wrap; margin-top: 1.25rem; }
.wc-trust-badges--checkout .trust-badge { flex-direction: row; font-size: 0.82rem; gap: 0.4rem; }

/* Product Tabs */
.sp-tabs-section .container,
.sp-related-section .container {
    max-width: 1000px;
    margin: 0 auto;
}
.wc-product-tabs { padding: 3rem 0; border-top: 1px solid rgba(59,42,26,0.08); }
.woocommerce-tabs ul.tabs { border-bottom: 2px solid rgba(59,42,26,0.1); padding: 0; }
.woocommerce-tabs ul.tabs li a { color: #3b2a1a; font-weight: 600; }
.woocommerce-tabs ul.tabs li.active a { color: #C86433; }
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none; }
.wc-related { padding: 2rem 0 4rem; }
.wc-related h2 { font-size: 1.75rem; color: #3b2a1a; font-weight: 700; margin-bottom: 2rem; }

/* Hide default WC proceed to checkout button as we use our own custom full-width one */
.wc-cart-totals-card .checkout-button:not(.btn-primary) { display: none !important; }
.wc-proceed-to-checkout { display: none !important; }

/* ── Cart Page Refinement ──────────────────────────────────────────────── */
.wc-cart-page { padding: 3rem 0 6rem; background-color: #fbf9f6; }
.wc-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: flex-start;
}
@media (max-width: 1024px) { .wc-cart-grid { grid-template-columns: 1fr; } }

/* Items Column */
.wc-cart-items-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(59,42,26,0.08);
    box-shadow: 0 4px 20px rgba(59,42,26,0.04);
    overflow: hidden;
}
.wc-cart-table { width: 100%; border-collapse: collapse; }
.wc-cart-table thead th {
    background: #f8f6f2;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(59,42,26,0.5);
    border-bottom: 1px solid rgba(59,42,26,0.08);
}
.wc-cart-item td {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(59,42,26,0.05);
    vertical-align: middle;
}
.wc-cart-item:last-child td { border-bottom: none; }

.wc-cart-item .product-thumbnail { width: 80px; }
.wc-cart-item .product-thumbnail img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(59,42,26,0.06);
}
.wc-cart-item .product-name a {
    font-weight: 700;
    color: #3b2a1a;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s;
}
.wc-cart-item .product-name a:hover { color: #C86433; }
.wc-cart-item .product-price, 
.wc-cart-item .product-subtotal {
    font-weight: 700;
    color: #3b2a1a;
}
.wc-cart-item .product-subtotal { color: #C86433; }

/* Quantity Override */
.wc-cart-item .quantity input.qty {
    width: 50px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid rgba(59,42,26,0.15);
    text-align: center;
    font-weight: 700;
}

.wc-cart-item .product-remove .remove {
    font-size: 1.5rem;
    color: rgba(59,42,26,0.2);
    text-decoration: none;
    transition: color 0.2s;
}
.wc-cart-item .product-remove .remove:hover { color: #ef4444; }

/* Cart Actions (Coupon + Update) */
.wc-cart-actions {
    background: #fdfdfc;
    padding: 1.25rem;
    border-top: 1px solid rgba(59,42,26,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.wc-cart-actions .coupon { display: flex; gap: 0.5rem; }
.wc-cart-actions .coupon input[type="text"] {
    width: 140px !important;
    height: 42px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    border: 1px solid rgba(59,42,26,0.1) !important;
    padding: 0 0.8rem !important;
}

/* Totals Column */
.wc-cart-totals-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(59,42,26,0.1);
    box-shadow: 0 8px 30px rgba(59,42,26,0.05);
    position: sticky;
    top: 120px;
}
.wc-cart-totals-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #3b2a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}
.wc-cart-totals-card .cart_totals table { width: 100%; border-collapse: collapse; }
.wc-cart-totals-card th, .wc-cart-totals-card td {
    padding: 0.85rem 0;
    font-size: 0.95rem;
    border-top: 1px solid rgba(59,42,26,0.06);
    text-align: left;
}
.wc-cart-totals-card th { font-weight: 600; color: #3b2a1a; }
.wc-cart-totals-card td { text-align: right; color: #555; }
.wc-cart-totals-card .order-total th, 
.wc-cart-totals-card .order-total td {
    border-top: 2px solid #3b2a1a;
    padding-top: 1.25rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #3b2a1a;
}
.wc-cart-totals-card .order-total td .amount { color: #C86433; }

.wc-cart-security-badge {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(59,42,26,0.06);
    font-size: 0.82rem;
    color: rgba(59,42,26,0.6);
    text-align: center;
    font-weight: 600;
}
.wc-cart-continue-link {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(59,42,26,0.5);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
}
.wc-cart-continue-link:hover { color: #C86433; }

/* ── Checkout Page Refinement ──────────────────────────────────────────── */
.wc-checkout-page { padding: 4rem 0 6rem; background-color: var(--bg-warm); }
.wc-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: flex-start;
}
@media (max-width: 1024px) { .wc-checkout-grid { grid-template-columns: 1fr; } }

/* Form Area */
.wc-checkout-step-card,
.wc-checkout-step-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(44,30,22,0.06);
    box-shadow: var(--shadow-sm);
}
.wc-checkout-step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}

/* Form Input Styles */
.woocommerce form .form-row label { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: var(--text-dark); 
    margin-bottom: 0.5rem; 
    display: inline-block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    border: 1px solid rgba(44,30,22,0.1) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.85rem 1.2rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth);
    background: var(--white) !important;
    color: var(--text-dark) !important;
    width: 100%;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(217,119,6,0.1) !important;
    outline: none !important;
}

/* Right Summary Column */
.wc-checkout-summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(44,30,22,0.1);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}
.wc-checkout-summary-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.75rem;
    text-align: left;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(44,30,22,0.06);
}

.wc-checkout-mini-cart {
    border-bottom: 1px solid rgba(44,30,22,0.06);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}
.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.mini-cart-item__thumb img {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(44,30,22,0.06);
}
.mini-cart-item__details { flex: 1; display: flex; flex-direction: column; }
.mini-cart-item__name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.mini-cart-item__qty { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-top: 0.1rem; }
.mini-cart-item__price { font-size: 0.95rem; font-weight: 800; color: var(--secondary); }

.wc-checkout-totals table { width: 100%; margin-bottom: 2rem; border-collapse: separate; border-spacing: 0; }
.wc-checkout-totals th { font-weight: 600; color: var(--text-muted); text-align: left; padding: 0.75rem 0; font-size: 0.9rem; border-bottom: 1px dashed rgba(44,30,22,0.1); }
.wc-checkout-totals td { text-align: right; font-weight: 700; color: var(--secondary); padding: 0.75rem 0; border-bottom: 1px dashed rgba(44,30,22,0.1); }
.wc-checkout-totals tr.order-total th, 
.wc-checkout-totals tr.order-total td { font-size: 1.25rem; padding-top: 1.5rem; border-bottom: none; }
.wc-checkout-totals tr.order-total td strong { color: var(--accent); }

/* Payment Methods override */
.woocommerce-checkout #payment { background: var(--bg-warm) !important; border-radius: var(--radius-lg) !important; padding: 1.5rem !important; border: 1px solid rgba(44,30,22,0.06) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: none !important; margin-bottom: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.woocommerce-checkout #payment div.payment_box { background: var(--white) !important; border-radius: var(--radius-md) !important; box-shadow: var(--shadow-sm) !important; font-size: 0.88rem !important; color: var(--text-muted) !important; }
.woocommerce-checkout #payment #place_order {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    border-radius: var(--radius-pill) !important;
    padding: 1.15rem 1.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    width: 100%;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth) !important;
}
.woocommerce-checkout #payment #place_order:hover {
    background: var(--primary-alt) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wc-checkout-trust {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44,30,22,0.06);
}
.wc-checkout-trust .trust-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

/* ── Single-Page Checkout Multi-Step Enhancements ─────────────── */
.wc-checkout-progress {
    margin-bottom: 3rem;
    padding: 1rem 0;
}
.progress-steps {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.progress-steps::before {
    content: '';
    position: absolute;
    top: 14px; left: 0; right: 0;
    height: 3px;
    background: rgba(44,30,22,0.06);
    z-index: 1;
    border-radius: var(--radius-pill);
}
.progress-steps .step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-warm);
    padding: 0 10px;
    transition: var(--transition-smooth);
}
.progress-steps .step span {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(44,30,22,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}
.progress-steps .step.active { color: var(--accent); }
.progress-steps .step.active span {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

/* Step Content visibility */
.wc-checkout-step-section {
    display: none;
    animation: fadeInStep 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.wc-checkout-step-section.active { display: block; }
@keyframes fadeInStep { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Cart Review inside Checkout (Step 1) */
.checkout-cart-review-wrapper { margin-bottom: 2rem; }
.checkout-cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px dashed rgba(44,30,22,0.1);
}
.checkout-cart-item:last-child { border-bottom: none; }
.checkout-cart-item__thumb img {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(44,30,22,0.06);
}
.checkout-cart-item__details { flex: 1; }
.checkout-cart-item__name { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin: 0 0 0.25rem; }
.checkout-cart-item__price { font-size: 0.95rem; font-weight: 700; color: var(--text-muted); }
.checkout-cart-item__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
}
.checkout-cart-item__qty {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; font-weight: 700; color: var(--text-muted);
}
.checkout-cart-item__qty input {
    width: 60px; padding: 0.4rem; border: 1px solid rgba(44,30,22,0.1); border-radius: var(--radius-sm); text-align: center; font-weight: 700; color: var(--text-dark);
}
.checkout-cart-item__remove {
    background: none; border: none; font-size: 0.85rem; color: #ef4444; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0;
}
.checkout-cart-item__subtotal { font-size: 1.15rem; font-weight: 800; color: var(--secondary); }

/* Step Actions */
.step-actions { margin-top: 2rem; border-top: 1px solid rgba(44,30,22,0.06); padding-top: 2rem; }
.split-actions { display: flex; justify-content: space-between; align-items: center; }
.btn-next-step, .btn-prev-step { font-weight: 700; padding: 0.85rem 1.5rem; border-radius: var(--radius-pill); font-size: 1rem; }
.btn-next-step { background: var(--secondary); color: var(--white); border: none; }
.btn-next-step:hover { background: var(--text-dark); }
.btn-prev-step { background: var(--bg-warm); color: var(--text-muted); border: 1px solid rgba(44,30,22,0.1); }
.btn-prev-step:hover { background: #e5e7eb; color: var(--text-dark); }

/* Coupon Step 1 */
.checkout-coupon-wrapper {
    background: var(--bg-warm); padding: 1.5rem; border-radius: var(--radius-md); border: 1px dashed rgba(44,30,22,0.1); margin-bottom: 1rem;
}
.checkout-coupon-wrapper p { font-weight: 700; color: var(--text-dark); margin: 0 0 0.75rem; font-size: 0.95rem; }
.coupon-flex { display: flex; gap: 0.5rem; }
.coupon-flex input { flex: 1; border: 1px solid rgba(44,30,22,0.1); border-radius: var(--radius-sm); padding: 0.8rem; }
.apply-coupon-step1 { border: 1px solid var(--secondary); background: transparent; color: var(--secondary); font-weight: 600; border-radius: var(--radius-sm); padding: 0 1.5rem; transition: var(--transition-smooth); }
.apply-coupon-step1:hover { background: var(--secondary); color: var(--white); }

/* Success Step */
.success-screen-inner {
    text-align: center; padding: 3rem 1rem;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-20px);} 60% {transform: translateY(-10px);} }
.success-message { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
#dynamic-order-details { margin-bottom: 3rem; text-align: left; background: var(--bg-wood); padding: 2rem; border-radius: var(--radius-md); border: 1px solid rgba(44,30,22,0.06); }

.wc-checkout-guarantee {
    margin-top: 1.5rem;
    background: var(--bg-warm);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px dashed rgba(44,30,22,0.1);
}
.wc-checkout-guarantee strong { color: var(--secondary); display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }

/* ── My Account (Basic Layout) ─────────────────────────────────────────── */
.wc-account-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	padding: 4rem 0 6rem;
	align-items: flex-start;
}
@media (max-width: 800px) { .wc-account-layout { grid-template-columns: 1fr; } }

.wc-account-nav {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
    border: 1px solid rgba(44,30,22,0.06);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 100px;
}
.wc-account-nav__title {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	font-weight: 800;
	margin-bottom: 0.75rem;
}
.wc-account-nav__list { list-style: none; padding: 0; margin: 0; }
.wc-account-nav__list li a {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-md);
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: var(--transition-smooth);
    border: 1px solid transparent;
}
.wc-account-nav__list li a:hover,
.wc-account-nav__list li.is-active a {
	background: var(--bg-warm);
	color: var(--secondary);
    border-color: rgba(44,30,22,0.06);
}
.wc-account-nav__list li.is-active a {
    box-shadow: var(--shadow-sm);
}

.wc-account-content {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 3rem;
    border: 1px solid rgba(44,30,22,0.06);
	box-shadow: var(--shadow-sm);
}
.woocommerce-account .woocommerce-MyAccount-content h2 { font-size: 1.75rem; color: var(--secondary); font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.woocommerce-orders-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.woocommerce-orders-table th {
	background: var(--bg-warm);
	color: var(--text-muted);
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	padding: 1rem 1.25rem;
	border: none;
	text-align: left;
    border-bottom: 2px solid rgba(44,30,22,0.06);
}
.woocommerce-orders-table td { padding: 1.25rem; border-bottom: 1px dashed rgba(44,30,22,0.1); color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }
.woocommerce-orders-table__cell-order-status .woocommerce-order-status { font-weight: 800; color: var(--accent); background: rgba(217,119,6,0.1); padding: 0.35rem 0.75rem; border-radius: var(--radius-pill); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.woocommerce-orders-table .button { padding: 0.6rem 1.25rem !important; font-size: 0.85rem !important; border-radius: var(--radius-pill); background: var(--bg-warm); color: var(--secondary); font-weight: 700; border: 1px solid rgba(44,30,22,0.1); transition: var(--transition-smooth); }
.woocommerce-orders-table .button:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }

/* Auth panels (login / register) */
.wc-account-auth-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	padding: 4rem 0 6rem;
}
@media (max-width: 768px) { .wc-account-auth-grid { grid-template-columns: 1fr; } }
.wc-auth-panel {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 3rem;
    border: 1px solid rgba(44,30,22,0.06);
	box-shadow: var(--shadow-sm);
}
.wc-auth-panel__title { font-size: 1.75rem; color: var(--secondary); font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.wc-auth-panel__desc { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; font-size: 1rem; }
.wc-auth-panel .form-row input { width: 100%; }
.wc-auth-panel .woocommerce-button { width: 100%; border-radius: var(--radius-pill); padding: 1rem; font-size: 1rem; font-weight: 700; background: var(--secondary); color: var(--white); margin-top: 1rem; transition: var(--transition-smooth); border: none; }
.wc-auth-panel .woocommerce-button:hover { background: var(--text-dark); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.woocommerce-form__input-checkbox { margin-right: 0.5rem; }
.woocommerce-privacy-policy-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════════════════════════════ */
/* PREMIUM PRODUCT CARDS (.pc-card) & GRID                              */
/* ══════════════════════════════════════════════════════════════════════ */

/* Product Grid Wrapper */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem 2rem !important;
    margin: 0 0 3rem !important;
    padding: 0 !important;
    list-style: none !important;
}
@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 580px) {
    .woocommerce ul.products { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

/* List View Override */
.woocommerce ul.products.products--list { grid-template-columns: 1fr !important; }
.woocommerce ul.products.products--list li.product.pc-card .pc-card__link { flex-direction: row; align-items: stretch; }
.woocommerce ul.products.products--list li.product.pc-card .pc-card__img-wrap { width: 260px; height: auto; }
.woocommerce ul.products.products--list li.product.pc-card .pc-card__body { justify-content: center; padding: 2rem; }
@media (max-width: 640px) {
    .woocommerce ul.products.products--list li.product.pc-card .pc-card__link { flex-direction: column; }
    .woocommerce ul.products.products--list li.product.pc-card .pc-card__img-wrap { width: 100%; }
    .woocommerce ul.products.products--list li.product.pc-card .pc-card__body { padding: 1.15rem 1.25rem 0.75rem; }
}

/* Override the grid to use our card */
.woocommerce ul.products li.product.pc-card {
    background: #ffffff;
    border: 1.5px solid rgba(59,42,26,0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(59,42,26,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}
.woocommerce ul.products li.product.pc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(59,42,26,0.13);
    border-color: rgba(200,100,51,0.25);
}

/* The entire card is one link */
.pc-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.pc-card__link:hover { text-decoration: none; }

/* Image section */
.pc-card__img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f1ec;
    aspect-ratio: 4/3;
    flex-shrink: 0;
}
.pc-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    transition: transform 0.45s ease !important;
}
.pc-card__link:hover .pc-card__img { transform: scale(1.06) !important; }

/* Full-width ATC Button */
.pc-card__atc-wrap {
    margin-top: auto; /* Push to bottom of flex container */
    padding-top: 1rem;
    width: 100%;
}
.pc-card__atc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--bg-warm);
    border: 1.5px solid rgba(44,30,22,0.1);
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}
.pc-card__link:hover .pc-card__atc-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(200,100,51,0.2);
}

/* Badges */
.pc-card__badge {
    position: absolute;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.28rem 0.65rem;
    border-radius: 6px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}
.pc-card__badge--sale {
    top: 0.75rem;
    left: 0.75rem;
    background: #3b2a1a;
    color: #FACC15;
    text-transform: uppercase;
}
.pc-card__badge--download {
    top: 0.75rem;
    right: 0.75rem;
    background: #ffffff;
    color: #3b2a1a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* Body */
.pc-card__body {
    padding: 1.15rem 1.25rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.pc-card__cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #C86433;
    display: block;
}
.pc-card__title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1a1208 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.pc-card__desc {
    font-size: 0.82rem;
    color: rgba(59,42,26,0.55);
    line-height: 1.55;
    margin: 0;
}

/* Stars */
.pc-card__stars {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-top: 0.2rem;
}
.pc-star { font-size: 0.75rem; }
.pc-star--full  { color: #D97706; }
.pc-star--half  { color: #D97706; opacity: 0.6; }
.pc-star--empty { color: rgba(59,42,26,0.2); }
.pc-card__review-count { font-size: 0.72rem; color: rgba(59,42,26,0.4); margin-left: 0.25rem; }

/* Footer: price + CTA */
.pc-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid rgba(59,42,26,0.07);
    background: #faf7f3;
    margin-top: auto;
}
.pc-card__price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #C86433;
}
.pc-card__price del { color: rgba(59,42,26,0.35); font-weight: 400; font-size: 0.85rem; }
.pc-card__price ins { text-decoration: none; }
.pc-card__cta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b2a1a;
    background: none;
    border: 1.5px solid rgba(59,42,26,0.18);
    border-radius: 9999px;
    padding: 0.4rem 0.85rem;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    white-space: nowrap;
}
.pc-card__link:hover .pc-card__cta {
    background: #3b2a1a;
    border-color: #3b2a1a;
    color: #fff;
}
.pc-card__cta-arrow { transition: transform 0.18s; }
.pc-card__link:hover .pc-card__cta-arrow { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════════════════════ */
/* PREMIUM SINGLE PRODUCT PAGE (.sp-*)  — No gradients                  */
/* ══════════════════════════════════════════════════════════════════════ */

.sp-page { background: #FAFAF9; }

/* Breadcrumb */
.sp-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid rgba(59,42,26,0.07);
    padding: 0.75rem 0;
}
.sp-breadcrumb-bar .woocommerce-breadcrumb {
    margin: 0 !important;
    font-size: 0.82rem;
}

/* Main layout */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0;
    align-items: flex-start;
}
@media (max-width: 900px) { .sp-layout { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; } }

/* Gallery */
.sp-gallery .woocommerce-product-gallery {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(59,42,26,0.08);
    box-shadow: 0 4px 20px rgba(59,42,26,0.07);
}
.sp-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
}

/* Seals below gallery */
.sp-gallery__seals {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid rgba(59,42,26,0.07);
}
.sp-seal {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sp-seal__icon { font-size: 1.3rem; flex-shrink: 0; }
.sp-seal__text { display: flex; flex-direction: column; }
.sp-seal__text strong { font-size: 0.88rem; font-weight: 700; color: #3b2a1a; }
.sp-seal__text span { font-size: 0.78rem; color: rgba(59,42,26,0.5); }

/* Summary panel */
.sp-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sp-summary__cats {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #C86433;
    margin-bottom: 0.5rem;
}
.sp-summary__cats a { color: #C86433; text-decoration: none; }
.sp-summary__title {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    color: #1a1208 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.75rem !important;
    letter-spacing: -0.02em;
}
@media (max-width: 600px) { .sp-summary__title { font-size: 1.75rem !important; } }

/* Rating row */
.sp-summary__rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.sp-summary__rating-row .woocommerce-product-rating { margin: 0 !important; }
.sp-summary__review-link {
    font-size: 0.82rem;
    color: #C86433;
    text-decoration: underline;
}

/* Price block */
.sp-summary__price-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid rgba(59,42,26,0.08);
}
.sp-summary__price-block .price {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1a1208 !important;
    margin: 0 !important;
}
.sp-summary__price-block .price del { font-size: 1.1rem; color: rgba(59,42,26,0.35) !important; font-weight: 400 !important; }
.sp-summary__price-block .price ins { text-decoration: none; }
.sp-summary__type-pill {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(59,42,26,0.06);
    color: #3b2a1a;
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
}

/* Short description */
.sp-summary__desc {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

/* Feature checklist */
.sp-feature-list {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid rgba(59,42,26,0.08);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.sp-feature-list__title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(59,42,26,0.5);
    margin: 0 0 0.85rem;
}
.sp-feature-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.sp-feature-list__items li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: #3b2a1a;
}
.sp-feature-list__icon {
    color: #C86433;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 0.05em;
}

/* ATC area */
.sp-summary__atc {
    margin-bottom: 1rem;
}
.sp-summary__atc .single_add_to_cart_button {
    width: 100% !important;
    padding: 1.05rem 2rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
    background: #3b2a1a !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0;
}
.sp-summary__atc .single_add_to_cart_button:hover { background: #1a1208 !important; }

/* Social proof */
.sp-social-proof {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(59,42,26,0.6);
    margin-bottom: 1.25rem;
}
.sp-social-proof__dot {
    width: 8px; height: 8px;
    background: #22C55E;
    border-radius: 9999px;
    flex-shrink: 0;
    animation: sp-pulse 2s ease-in-out infinite;
}
@keyframes sp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Meta */
.sp-summary__meta { font-size: 0.82rem; color: rgba(59,42,26,0.45); }
.sp-summary__meta .posted_in a,
.sp-summary__meta .tagged_as a { color: #C86433; text-decoration: none; }

/* Tabs section */
.sp-tabs-section {
    background: #fff;
    border-top: 1px solid rgba(59,42,26,0.07);
    border-bottom: 1px solid rgba(59,42,26,0.07);
    padding: 3rem 0;
}
.sp-tabs-section .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid rgba(59,42,26,0.1) !important;
    padding-left: 0 !important;
    margin-bottom: 2rem !important;
    display: flex;
    gap: 0;
}
.sp-tabs-section .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}
.sp-tabs-section .woocommerce-tabs ul.tabs li::before,
.sp-tabs-section .woocommerce-tabs ul.tabs li::after { display: none !important; }
.sp-tabs-section .woocommerce-tabs ul.tabs li a {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(59,42,26,0.5);
    padding: 0.8rem 1.25rem;
    display: block;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.sp-tabs-section .woocommerce-tabs ul.tabs li.active a {
    color: #3b2a1a;
    border-bottom-color: #C86433;
}
.sp-tabs-section .woocommerce-tabs .panel { padding: 0 !important; }

/* Related products */
.sp-related-section { padding: 3rem 0 5rem; }
.sp-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.sp-related-header__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1208;
    margin: 0;
}
.sp-related-header__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #C86433;
    text-decoration: none;
}
.sp-related-section .related.products > h2 { display: none; } /* hide WC's own title */

/* WC generic pages (cart/checkout/account hero) — no gradient */
.wc-page-hero {
    background: #fff;
    border-bottom: 1px solid rgba(59,42,26,0.08);
    padding: 3rem 0 2.5rem;
}
.wc-page-hero__title { color: #1a1208; }
.wc-page-hero__subtitle { color: rgba(59,42,26,0.6); }

/* =========================================================================
   6. PREMIUM SIDE-CART DRAWER
   ========================================================================= */

.wc-side-cart {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
}
.wc-side-cart[aria-hidden="false"] {
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop */
.wc-side-cart__backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 18, 8, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.wc-side-cart__backdrop.open { opacity: 1; }

/* Panel Sliding */
.wc-side-cart__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 100%; max-width: 420px; /* Reduced for editorial elegance */
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(26, 18, 8, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.wc-side-cart__panel.open { transform: translateX(0); }

@media (max-width: 480px) {
    .wc-side-cart__panel { max-width: 100%; right: 0; }
}

/* Lock body scroll */
body.wc-side-cart-open { overflow: hidden; }

/* Header */
.wc-side-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(59,42,26,0.06);
}
.wc-side-cart__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1208;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.wc-side-cart__close {
    background: none; border: none;
    font-size: 1.1rem;
    color: rgba(59,42,26,0.4);
    cursor: pointer;
    line-height: 1;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,42,26,0.03);
    transition: all 0.2s ease;
}
.wc-side-cart__close:hover {
    color: #1a1208;
    background: rgba(59,42,26,0.08);
}

/* Body / Mini Cart Content */
.wc-side-cart__body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
/* Sleek custom scrollbars */
.wc-side-cart__body::-webkit-scrollbar { width: 5px; }
.wc-side-cart__body::-webkit-scrollbar-track { background: transparent; }
.wc-side-cart__body::-webkit-scrollbar-thumb { background: rgba(59,42,26,0.1); border-radius: 8px;}

/* Override default widget cart styles */
.widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.widget_shopping_cart_content .woocommerce-mini-cart {
    flex: 1;
    margin: 0; padding: 0 2rem 2rem; list-style: none;
}
.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 6rem 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(59,42,26,0.5);
}

/* Items */
.woocommerce-mini-cart-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 1.2rem;
    padding: 1.25rem 0;
    border-bottom: 1px dashed rgba(59,42,26,0.08);
    position: relative;
    transition: opacity 0.3s;
    align-items: center;
}
.woocommerce-mini-cart-item:last-child { border-bottom: none; }

.woocommerce-mini-cart-item img {
    width: 74px; height: 74px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(59,42,26,0.06);
    background: #fbf9f6;
}

.woocommerce-mini-cart-item a:not(.remove_from_cart_button) {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1208;
    text-decoration: none;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    padding-right: 1.5rem; /* space for remove btn */
    transition: color 0.15s;
}
.woocommerce-mini-cart-item a:not(.remove_from_cart_button):hover { color: #C86433; }

.woocommerce-mini-cart-item .quantity {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(59,42,26,0.55);
}
.woocommerce-mini-cart-item .quantity .amount {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1208;
    margin-left: 0.4rem;
}

/* Remove button */
a.remove_from_cart_button {
    position: absolute;
    top: 1.25rem; right: 0;
    font-size: 1.1rem;
    line-height: 1;
    color: rgba(59,42,26,0.3);
    text-decoration: none;
    transition: color 0.2s;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: flex-end;
}
a.remove_from_cart_button:hover {
    color: #ef4444; /* Clean subtle red */
}

/* Subtotal Sticky Footer Area */
.woocommerce-mini-cart__total {
    padding: 1.25rem 2rem 1rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(59,42,26,0.6);
    background: #fcfaf8;
    border-top: 1px solid rgba(59,42,26,0.06);
}
.woocommerce-mini-cart__total .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1208;
}

/* Buttons Container */
.woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0; padding: 0 2rem 1.5rem;
    background: #fcfaf8;
}
.woocommerce-mini-cart__buttons .button:not(.checkout) {
    display: none !important; /* Hide redundant "View Cart" button */
}
.woocommerce-mini-cart__buttons .checkout {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}
.woocommerce-mini-cart__buttons .checkout:hover {
    background: var(--primary-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
