/* ===== SHOP PAGE ===== */
.shop-layout{display:grid;grid-template-columns:260px 1fr;gap:2rem;align-items:start;max-width:1200px;margin:0 auto;padding:2rem 1.5rem}
.shop-sidebar{position:sticky;top:calc(var(--navbar-h) + 1rem);background:var(--white);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm)}
.filter-section{margin-bottom:1.75rem;padding-bottom:1.75rem;border-bottom:1px solid rgba(139,26,74,.1)}
.filter-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.filter-title{font-family:var(--font-display);font-size:1rem;font-weight:600;color:var(--text);margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between}
.filter-title button{background:none;border:none;font-size:0.78rem;color:var(--primary);cursor:pointer;font-weight:600}
.filter-checkbox-list{display:flex;flex-direction:column;gap:0.6rem}
.filter-checkbox{display:flex;align-items:center;gap:0.6rem;cursor:pointer;font-size:0.88rem;color:var(--text-light)}
.filter-checkbox input{accent-color:var(--primary);width:16px;height:16px;cursor:pointer}
.filter-checkbox:hover{color:var(--primary)}
.price-range-inputs {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.price-input-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}
.price-input-wrapper span {
  position: absolute;
  left: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
  font-weight: 600;
}
.price-range-inputs input {
  width: 100%;
  min-width: 0;
  padding: 0.45rem 0.4rem 0.45rem 1.4rem;
  border: 1.5px solid rgba(139,26,74,.2);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  outline: none;
  color: var(--text);
  box-sizing: border-box;
  background: var(--white);
  -moz-appearance: textfield;
}
.price-range-inputs input::-webkit-outer-spin-button,
.price-range-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.price-range-inputs input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(139,26,74,0.1);
}
.price-range-sep {
  color: var(--text-muted);
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.85rem;
}
.price-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.price-pill {
  background: var(--cream);
  border: 1px solid rgba(139,26,74,0.15);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.price-pill:hover, .price-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.filter-size-grid{display:flex;flex-wrap:wrap;gap:0.5rem}
.size-chip{padding:0.35rem 0.85rem;border:1.5px solid rgba(139,26,74,.2);border-radius:999px;font-size:0.78rem;font-weight:600;color:var(--text-light);cursor:pointer;transition:var(--transition-fast)}
.size-chip:hover,.size-chip.active{border-color:var(--primary);background:var(--primary);color:var(--white)}
.color-options{display:flex;flex-wrap:wrap;gap:0.6rem}
.color-dot{width:28px;height:28px;border-radius:50%;cursor:pointer;border:2px solid transparent;transition:var(--transition-fast);position:relative}
.color-dot.active,.color-dot:hover{transform:scale(1.15)}
.color-dot.active::after{content:'?';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:0.7rem;color:var(--white);text-shadow:0 1px 2px rgba(0,0,0,.5)}

.shop-main{}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}
.shop-results-info{font-size:0.88rem;color:var(--text-muted)}
.shop-results-info strong{color:var(--text);font-weight:600}
.shop-toolbar-right{display:flex;align-items:center;gap:1rem}
.sort-select{padding:0.5rem 2rem 0.5rem 0.85rem;border:1.5px solid rgba(139,26,74,.2);border-radius:var(--radius-md);font-size:0.85rem;color:var(--text);appearance:none;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238B1A4A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 0.5rem center/1rem;cursor:pointer;outline:none}
.view-toggle{display:flex;gap:0.3rem}
.view-btn{width:34px;height:34px;border:1.5px solid rgba(139,26,74,.2);border-radius:var(--radius-sm);background:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:0.85rem;color:var(--text-muted);transition:var(--transition-fast)}
.view-btn.active{border-color:var(--primary);background:rgba(139,26,74,.08);color:var(--primary)}

.active-filters{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:1rem}
.filter-tag{display:inline-flex;align-items:center;gap:0.4rem;background:rgba(139,26,74,.1);color:var(--primary);padding:0.3rem 0.8rem;border-radius:999px;font-size:0.78rem;font-weight:600}
.filter-tag button{background:none;border:none;cursor:pointer;color:var(--primary);font-size:0.85rem;padding:0;line-height:1;display:flex;align-items:center}

/* List view */
.products-list{display:flex;flex-direction:column;gap:1rem}
.product-card.list-view{display:grid;grid-template-columns:160px 1fr auto;gap:1rem;align-items:center;border-radius:var(--radius-md)}
.product-card.list-view:hover{transform:translateY(-2px)}
.product-card.list-view .product-card-img{aspect-ratio:1;border-radius:var(--radius-md) 0 0 var(--radius-md)}
.product-card.list-view .product-card-body{padding:1rem 0}
.product-card.list-view .product-card-actions{display:flex;flex-direction:column;gap:0.5rem;padding:1rem;align-items:flex-end}
.product-card.list-view .product-card-overlay{display:none}

/* ===== PRODUCT DETAIL ===== */
.product-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start;max-width:1200px;margin:0 auto;padding:2rem 1.5rem}
.product-gallery{}
.gallery-main{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:0.75rem;aspect-ratio:3/4;background:var(--cream-dark)}
.gallery-main img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.gallery-thumbs{display:flex;gap:0.6rem;overflow-x:auto;padding-bottom:0.25rem}
.gallery-thumb{width:72px;height:72px;border-radius:var(--radius-sm);overflow:hidden;cursor:pointer;border:2px solid transparent;flex-shrink:0;transition:var(--transition-fast);background:var(--cream-dark)}
.gallery-thumb:hover,.gallery-thumb.active{border-color:var(--primary)}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}

.product-info{}
.product-info .product-category{font-size:0.78rem;font-weight:700;letter-spacing:2px;color:var(--accent-dark);text-transform:uppercase}
.product-info h1{font-family:var(--font-display);font-size:1.9rem;color:var(--text);margin:0.5rem 0 0.75rem;line-height:1.25}
.product-rating-row{display:flex;align-items:center;gap:0.75rem;margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid rgba(139,26,74,.1)}
.product-big-price{font-size:2rem;font-weight:700;color:var(--primary)}
.product-big-price .original{font-size:1rem;color:var(--text-muted);text-decoration:line-through;font-weight:400;margin-left:0.5rem}
.product-big-price .save-tag{font-size:0.8rem;background:rgba(56,142,60,.12);color:var(--success);padding:2px 8px;border-radius:999px;font-weight:700;margin-left:0.5rem}

.product-option-section{margin-bottom:1.25rem}
.product-option-label{font-size:0.85rem;font-weight:700;color:var(--text);margin-bottom:0.6rem;display:flex;align-items:center;gap:0.5rem}
.product-option-label span{font-weight:400;color:var(--text-muted)}
.size-selector{display:flex;flex-wrap:wrap;gap:0.5rem}
.size-option{padding:0.4rem 1rem;border:2px solid rgba(139,26,74,.2);border-radius:var(--radius-sm);font-size:0.85rem;font-weight:600;cursor:pointer;transition:var(--transition-fast);background:var(--white);color:var(--text)}
.size-option:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}
.size-option.selected{border-color:var(--primary);background:var(--primary);color:var(--white)}
.size-option:disabled{opacity:0.4;cursor:not-allowed;text-decoration:line-through}
.color-selector{display:flex;gap:0.6rem;flex-wrap:wrap}
.color-option{width:32px;height:32px;border-radius:50%;cursor:pointer;border:3px solid transparent;outline:2px solid transparent;transition:var(--transition-fast)}
.color-option:hover{outline-color:rgba(139,26,74,.4)}
.color-option.selected{outline-color:var(--primary);outline-offset:2px}

.qty-selector{display:flex;align-items:center;gap:0;border:1.5px solid rgba(139,26,74,.2);border-radius:var(--radius-md);overflow:hidden;width:fit-content}
.qty-btn{width:42px;height:42px;background:none;border:none;cursor:pointer;font-size:1.1rem;color:var(--primary);display:flex;align-items:center;justify-content:center;transition:var(--transition-fast)}
.qty-btn:hover{background:rgba(139,26,74,.08)}
.qty-num{width:50px;text-align:center;font-size:1rem;font-weight:700;color:var(--text);border:none;border-left:1px solid rgba(139,26,74,.15);border-right:1px solid rgba(139,26,74,.15);outline:none;padding:0.5rem 0}

.add-to-cart-row{display:flex;gap:0.75rem;margin:1.5rem 0 1rem;flex-wrap:wrap}
.add-to-cart-row .btn{flex:1;min-width:180px}
.wishlist-btn{width:50px;height:50px;padding:0;border-radius:var(--radius-md) !important;border:2px solid rgba(139,26,74,.2) !important}
.wishlist-btn:hover{border-color:var(--error) !important;color:var(--error) !important}
.wishlist-btn.active{background:rgba(211,47,47,.08) !important;border-color:var(--error) !important;color:var(--error) !important}

.product-meta{display:flex;flex-direction:column;gap:0.5rem;margin:1rem 0;padding:1rem;background:var(--cream);border-radius:var(--radius-md)}
.product-meta-item{display:flex;align-items:center;gap:0.6rem;font-size:0.85rem;color:var(--text-light)}
.product-meta-item strong{color:var(--text);font-weight:600;min-width:70px}

.product-tabs{margin-top:1.5rem}
.tab-headers{display:flex;gap:0;border-bottom:2px solid rgba(139,26,74,.1)}
.tab-header{padding:0.65rem 1.25rem;background:none;border:none;font-size:0.88rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:var(--transition-fast);border-bottom:2px solid transparent;margin-bottom:-2px}
.tab-header.active{color:var(--primary);border-bottom-color:var(--primary)}
.tab-content{padding:1.25rem 0;font-size:0.9rem;color:var(--text-light);line-height:1.8;display:none}
.tab-content.active{display:block;animation:fadeIn .3s ease}

/* ===== CART ===== */
.cart-layout{display:grid;grid-template-columns:1fr 360px;gap:2rem;align-items:start;max-width:1100px;margin:0 auto;padding:2rem 1.5rem}
.cart-items{display:flex;flex-direction:column;gap:1rem}
.cart-item{background:var(--white);border-radius:var(--radius-lg);padding:1.25rem;display:flex;gap:1rem;align-items:center;box-shadow:var(--shadow-sm);transition:var(--transition)}
.cart-item:hover{box-shadow:var(--shadow-md)}
.cart-item-img{width:90px;height:110px;border-radius:var(--radius-md);overflow:hidden;flex-shrink:0;background:var(--cream-dark)}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1}
.cart-item-name{font-family:var(--font-display);font-size:1rem;font-weight:600;margin-bottom:0.3rem}
.cart-item-variant{font-size:0.8rem;color:var(--text-muted);margin-bottom:0.6rem}
.cart-item-price{font-size:1.05rem;font-weight:700;color:var(--primary)}
.cart-item-controls{display:flex;align-items:center;gap:0.75rem;margin-top:0.75rem;flex-wrap:wrap}
.remove-btn{background:none;border:none;color:var(--text-muted);font-size:0.82rem;cursor:pointer;padding:0.3rem;transition:var(--transition-fast);display:flex;align-items:center;gap:0.3rem}
.remove-btn:hover{color:var(--error)}

.cart-summary{background:var(--white);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm);position:sticky;top:calc(var(--navbar-h) + 1rem)}
.cart-summary h3{font-family:var(--font-display);font-size:1.25rem;margin-bottom:1.25rem;padding-bottom:0.75rem;border-bottom:1px solid rgba(139,26,74,.1)}
.summary-row{display:flex;justify-content:space-between;align-items:center;font-size:0.9rem;margin-bottom:0.75rem;color:var(--text-light)}
.summary-row.total{font-weight:700;font-size:1.1rem;color:var(--text);padding-top:0.75rem;border-top:1px solid rgba(139,26,74,.1);margin-top:0.5rem}
.coupon-input{display:flex;gap:0.5rem;margin:1rem 0}
.coupon-input input{flex:1}
.coupon-input button{flex-shrink:0}
.cart-secure-badges{display:flex;justify-content:center;gap:1.25rem;margin-top:1rem;font-size:0.75rem;color:var(--text-muted)}
.secure-badge{display:flex;align-items:center;gap:0.3rem}

/* ===== CHECKOUT ===== */
.checkout-layout{display:grid;grid-template-columns:1fr 360px;gap:2rem;align-items:start;max-width:1100px;margin:0 auto;padding:2rem 1.5rem}
.checkout-section{background:var(--white);border-radius:var(--radius-lg);padding:1.75rem;box-shadow:var(--shadow-sm);margin-bottom:1.5rem}
.checkout-section h3{font-family:var(--font-display);font-size:1.15rem;margin-bottom:1.25rem;padding-bottom:0.75rem;border-bottom:1px solid rgba(139,26,74,.1);display:flex;align-items:center;gap:0.6rem}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}

.order-item{display:flex;align-items:center;gap:0.75rem;padding:0.75rem 0;border-bottom:1px solid rgba(139,26,74,.07)}
.order-item:last-child{border-bottom:none}
.order-item-img{width:56px;height:68px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0;background:var(--cream-dark)}
.order-item-img img{width:100%;height:100%;object-fit:cover}
.order-item-name{font-size:0.88rem;font-weight:600;flex:1}
.order-item-meta{font-size:0.75rem;color:var(--text-muted)}
.order-item-price{font-size:0.95rem;font-weight:700;color:var(--primary);flex-shrink:0}

.payment-method-list{display:flex;flex-direction:column;gap:0.75rem}
.payment-method{border:1.5px solid rgba(139,26,74,.15);border-radius:var(--radius-md);padding:1rem;cursor:pointer;transition:var(--transition);display:flex;align-items:center;gap:0.75rem}
.payment-method:hover,.payment-method.active{border-color:var(--primary);background:rgba(139,26,74,.03)}
.payment-method input[type=radio]{accent-color:var(--primary);width:16px;height:16px;cursor:pointer;flex-shrink:0}
.payment-method-info{flex:1}
.payment-method-name{font-size:0.9rem;font-weight:600;color:var(--text)}
.payment-method-desc{font-size:0.78rem;color:var(--text-muted);margin-top:0.15rem}
.payment-method-icon{font-size:1.3rem;flex-shrink:0}

/* ===== MY ORDERS ===== */
.orders-page{max-width:900px;margin:0 auto;padding:2rem 1.5rem}
.orders-page h2{font-family:var(--font-display);color:var(--primary);margin-bottom:1.5rem}
.order-card{background:var(--white);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm);margin-bottom:1rem;transition:var(--transition)}
.order-card:hover{box-shadow:var(--shadow-md)}
.order-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding-bottom:0.75rem;border-bottom:1px solid rgba(139,26,74,.08);flex-wrap:wrap;gap:0.5rem}
.order-id{font-size:0.85rem;font-weight:600;color:var(--text)}
.order-date{font-size:0.8rem;color:var(--text-muted)}
.order-items-preview{display:flex;gap:0.5rem;margin-bottom:1rem;overflow-x:auto;padding-bottom:0.25rem}
.order-preview-img{width:56px;height:68px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0;background:var(--cream-dark)}
.order-preview-img img{width:100%;height:100%;object-fit:cover}
.order-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.5rem}
.order-total-label{font-size:0.82rem;color:var(--text-muted)}
.order-total-price{font-size:1.05rem;font-weight:700;color:var(--primary)}

/* ===== CONFIRMATION ===== */
.confirmation-page{max-width:600px;margin:0 auto;padding:3rem 1.5rem;text-align:center}
.confirmation-icon{font-size:5rem;margin-bottom:1.5rem;animation:scaleIn .5s ease both}
.confirmation-page h1{font-family:var(--font-display);color:var(--success);margin-bottom:0.75rem}
.order-number-box{background:var(--cream-dark);border-radius:var(--radius-md);padding:1rem 1.5rem;margin:1.5rem auto;display:inline-block;border:2px dashed rgba(139,26,74,.2)}
.order-number-box p{font-size:0.82rem;color:var(--text-muted);margin-bottom:0.25rem}
.order-number-box strong{font-family:var(--font-display);font-size:1.5rem;color:var(--primary);display:block}
.confirmation-steps{display:flex;justify-content:center;gap:2rem;margin:2rem 0;flex-wrap:wrap}
.conf-step{text-align:center;flex:1;min-width:120px}
.conf-step-icon{font-size:1.8rem;margin-bottom:0.5rem;display:block}
.conf-step p{font-size:0.8rem;color:var(--text-muted);line-height:1.4}
.conf-step strong{display:block;font-size:0.88rem;color:var(--text);margin-bottom:0.2rem}

@media(max-width:768px){
  .shop-layout{grid-template-columns:1fr}
  .shop-sidebar{display:none;position:fixed;top:0;left:0;height:100vh;z-index:999;overflow-y:auto;width:280px}
  .shop-sidebar.open{display:block}
  .cart-layout,.checkout-layout{grid-template-columns:1fr}
  .product-detail-layout{grid-template-columns:1fr}
  .form-grid-2{grid-template-columns:1fr}
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:3rem;max-width:1100px;margin:2rem auto;padding:0 1.5rem;align-items:start}
.product-gallery{position:sticky;top:calc(var(--navbar-h) + 1rem)}
.gallery-main{border-radius:var(--radius-lg);overflow:hidden;background:var(--cream-dark);margin-bottom:0.75rem;aspect-ratio:3/4}
.gallery-main img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.gallery-main:hover img{transform:scale(1.04)}
.gallery-thumbs{display:flex;gap:0.5rem;flex-wrap:wrap}
.gallery-thumb{width:72px;height:90px;border-radius:var(--radius-sm);overflow:hidden;cursor:pointer;border:2px solid transparent;transition:var(--transition-fast)}
.gallery-thumb.active,.gallery-thumb:hover{border-color:var(--primary)}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.product-info h1{font-size:1.7rem;color:var(--text);margin:0.5rem 0 1rem}
.product-rating-row{display:flex;align-items:center;gap:0.75rem;margin-bottom:1rem;flex-wrap:wrap}
.product-big-price{font-size:2rem;font-weight:800;color:var(--primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap}
.product-big-price .original{font-size:1.1rem;color:var(--text-muted);text-decoration:line-through;font-weight:400}
.product-big-price .save-tag{font-size:0.85rem;background:var(--success);color:var(--white);padding:0.2rem 0.6rem;border-radius:999px;font-weight:700}
.product-option-section{margin-bottom:1.25rem}
.product-option-label{font-weight:600;font-size:0.9rem;color:var(--text);margin-bottom:0.6rem}
.product-option-label span{color:var(--primary)}
.size-selector{display:flex;flex-wrap:wrap;gap:0.5rem}
.size-option{padding:0.4rem 1rem;border:1.5px solid rgba(139,26,74,.25);border-radius:var(--radius-sm);font-size:0.85rem;font-weight:600;color:var(--text-light);cursor:pointer;background:var(--white);transition:var(--transition-fast)}
.size-option:hover{border-color:var(--primary);color:var(--primary)}
.size-option.selected{border-color:var(--primary);background:var(--primary);color:var(--white)}
.color-selector{display:flex;flex-wrap:wrap;gap:0.6rem}
.color-option{width:30px;height:30px;border-radius:50%;cursor:pointer;transition:var(--transition-fast);border:3px solid rgba(255,255,255,0.5);box-shadow:0 0 0 1px rgba(139,26,74,.2)}
.color-option.selected,.color-option:hover{transform:scale(1.2);box-shadow:0 0 0 3px var(--primary)}
.qty-selector{display:flex;align-items:center;gap:0;border:1.5px solid rgba(139,26,74,.25);border-radius:var(--radius-md);overflow:hidden;width:fit-content}
.qty-btn{width:38px;height:38px;border:none;background:var(--cream-dark);cursor:pointer;font-size:1.1rem;font-weight:700;color:var(--primary);transition:var(--transition-fast)}
.qty-btn:hover{background:var(--primary);color:var(--white)}
.qty-num{width:48px;text-align:center;border:none;outline:none;font-weight:700;font-size:0.95rem;color:var(--text);background:var(--white)}
.add-to-cart-row{display:flex;gap:0.75rem;flex-wrap:wrap;margin-bottom:1.5rem}
.add-to-cart-row .btn-lg{flex:1;min-width:150px}
.product-meta{background:var(--cream-dark);border-radius:var(--radius-md);padding:1rem;display:flex;flex-direction:column;gap:0.5rem;margin-bottom:1.5rem}
.product-meta-item{font-size:0.85rem;color:var(--text-light);display:flex;gap:0.5rem}
.product-meta-item strong{color:var(--text);min-width:60px}
.product-tabs{border:1px solid rgba(139,26,74,.12);border-radius:var(--radius-md);overflow:hidden}
.tab-headers{display:flex;border-bottom:1px solid rgba(139,26,74,.12)}
.tab-header{flex:1;padding:0.75rem;border:none;background:var(--cream-dark);font-size:0.85rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:var(--transition-fast)}
.tab-header.active{background:var(--white);color:var(--primary)}
.tab-content{padding:1rem;font-size:0.88rem;color:var(--text-light);line-height:1.7;display:none}
.tab-content.active{display:block}

/* ===== CART PAGE ===== */
.cart-layout{display:grid;grid-template-columns:1fr 360px;gap:2rem;max-width:1100px;margin:0 auto;padding:0 1.5rem 3rem}
.cart-item{display:flex;gap:1rem;padding:1.25rem;background:var(--white);border-radius:var(--radius-lg);margin-bottom:1rem;box-shadow:var(--shadow-sm)}
.cart-item-img{width:90px;height:110px;flex-shrink:0;border-radius:var(--radius-sm);overflow:hidden;background:var(--cream-dark)}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1;display:flex;flex-direction:column;gap:0.3rem}
.cart-item-name{font-weight:700;color:var(--text);font-size:0.95rem}
.cart-item-variant{font-size:0.8rem;color:var(--text-muted)}
.cart-item-price{font-size:0.9rem;color:var(--primary);font-weight:600}
.cart-item-controls{display:flex;align-items:center;gap:0.75rem;margin-top:auto;flex-wrap:wrap}
.remove-btn{background:none;border:none;color:var(--error);cursor:pointer;font-size:0.82rem;font-weight:600;transition:var(--transition-fast)}
.remove-btn:hover{opacity:0.7}
.cart-summary{background:var(--white);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm)}
.cart-summary h3{font-family:var(--font-display);font-size:1.15rem;color:var(--text);margin-bottom:1.25rem}
.summary-row{display:flex;justify-content:space-between;margin-bottom:0.6rem;font-size:0.88rem;color:var(--text-light)}
.summary-row.total{font-size:1.1rem;font-weight:800;color:var(--primary);border-top:1px solid rgba(139,26,74,.12);padding-top:0.75rem;margin-top:0.5rem}
.coupon-input{display:flex;gap:0.5rem;margin:1rem 0}
.coupon-input input{flex:1}
.cart-secure-badges{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.secure-badge{font-size:0.75rem;color:var(--text-muted);display:flex;align-items:center;gap:0.3rem}

/* ===== CHECKOUT ===== */
.checkout-layout{display:grid;grid-template-columns:1fr 360px;gap:2rem;max-width:1100px;margin:0 auto;padding:2rem 1.5rem 3rem}
.checkout-section{background:var(--white);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:1.25rem;box-shadow:var(--shadow-sm)}
.checkout-section h3{font-family:var(--font-display);font-size:1rem;color:var(--primary);margin-bottom:1.25rem}
.payment-method-list{display:flex;flex-direction:column;gap:0.75rem}
.payment-method{display:flex;align-items:center;gap:1rem;padding:0.85rem 1rem;border:1.5px solid rgba(139,26,74,.2);border-radius:var(--radius-md);cursor:pointer;transition:var(--transition-fast)}
.payment-method input{accent-color:var(--primary)}
.payment-method.active{border-color:var(--primary);background:rgba(139,26,74,.04)}
.payment-method-info{flex:1}
.payment-method-name{font-weight:600;font-size:0.9rem;color:var(--text)}
.payment-method-desc{font-size:0.78rem;color:var(--text-muted)}
.payment-method-icon{font-size:1.5rem}
.order-item{display:flex;align-items:center;gap:0.75rem;margin-bottom:0.75rem}
.order-item-img{width:56px;height:68px;border-radius:var(--radius-sm);overflow:hidden;background:var(--cream-dark);flex-shrink:0}
.order-item-name{font-weight:600;font-size:0.85rem;color:var(--text)}
.order-item-meta{font-size:0.75rem;color:var(--text-muted)}
.order-item-price{font-weight:700;color:var(--primary);margin-left:auto;flex-shrink:0}

/* ===== CONFIRMATION ===== */
.confirmation-page{max-width:600px;margin:4rem auto;text-align:center;padding:1.5rem}
.confirmation-icon{font-size:5rem;margin-bottom:1.5rem;animation:bounceIn .7s ease}
@keyframes bounceIn{0%{transform:scale(0)}60%{transform:scale(1.1)}100%{transform:scale(1)}}
.confirmation-page h1{font-size:2rem;color:var(--primary);font-family:var(--font-display);margin-bottom:0.75rem}
.order-number-box{background:var(--cream-dark);border:1px dashed rgba(139,26,74,.3);border-radius:var(--radius-md);padding:1rem;margin:1.5rem auto;max-width:280px}
.order-number-box p{font-size:0.8rem;color:var(--text-muted);margin-bottom:0.3rem}
.order-number-box strong{font-size:1.1rem;color:var(--primary);font-family:monospace;letter-spacing:2px}
.confirmation-steps{display:flex;justify-content:center;gap:1.5rem;margin:2rem 0;flex-wrap:wrap}
.conf-step{display:flex;flex-direction:column;align-items:center;gap:0.3rem}
.conf-step-icon{font-size:1.75rem}
.conf-step strong{font-size:0.8rem;font-weight:700;color:var(--text)}
.conf-step p{font-size:0.72rem;color:var(--text-muted)}

/* ===== ORDERS PAGE ===== */
.orders-page{max-width:800px;margin:2rem auto;padding:0 1.5rem 3rem}
.orders-page h2{font-family:var(--font-display);font-size:1.5rem;color:var(--primary)}
.order-card{background:var(--white);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem;box-shadow:var(--shadow-sm);transition:var(--transition)}
.order-card:hover{box-shadow:var(--shadow-md)}
.order-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap;gap:0.5rem}
.order-id{font-family:monospace;font-weight:700;color:var(--text);font-size:0.95rem}
.order-date{font-size:0.78rem;color:var(--text-muted);margin-top:0.2rem}
.order-items-preview{display:flex;gap:0.5rem;margin-bottom:1rem;flex-wrap:wrap}
.order-preview-img{width:56px;height:68px;border-radius:var(--radius-sm);overflow:hidden;background:var(--cream-dark)}
.order-preview-img img{width:100%;height:100%;object-fit:cover}
.order-card-footer{display:flex;justify-content:space-between;align-items:flex-end;padding-top:0.75rem;border-top:1px solid rgba(139,26,74,.08)}
.order-total-label{font-size:0.78rem;color:var(--text-muted)}
.order-total-price{font-size:1.1rem;font-weight:800;color:var(--primary)}

/* ===== RESPONSIVE SHOP LAYOUTS ===== */
@media(max-width:900px){
  .shop-layout{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem 1rem}
  .shop-sidebar{position:static;margin-bottom:1rem}
  .product-detail-layout{grid-template-columns:1fr;gap:2rem;padding:1.5rem 1rem}
  .cart-layout{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem 1rem}
  .cart-summary{position:static}
  .checkout-layout{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem 1rem 3rem}
}

@media(max-width:600px){
  .shop-layout{padding:1rem 0.75rem}
  .product-detail-layout{padding:1rem 0.75rem}
  .gallery-main{aspect-ratio:1/1.1}
  .product-info h1{font-size:1.5rem}
  .product-big-price{font-size:1.6rem}
  .add-to-cart-row{flex-direction:column}
  .add-to-cart-row .btn{width:100%}
  .cart-layout{padding:1rem 0.75rem}
  .cart-item{padding:0.85rem 0.75rem;gap:0.75rem}
  .cart-item-img{width:75px;height:95px}
  .checkout-layout{padding:1rem 0.75rem 2.5rem}
  .checkout-section{padding:1.25rem 0.9rem}
  .form-grid-2{grid-template-columns:1fr;gap:0.75rem}
  .shop-toolbar{flex-direction:column;align-items:stretch;gap:0.75rem}
  .shop-toolbar-right{justify-content:space-between;width:100%}
  .sort-select{flex:1}
  .orders-page{padding:0 1rem 2.5rem}
  .order-card{padding:1rem}
}
