/* ==========================================================================
   Storefront — Products listing
   ========================================================================== */
:root {
    --shop-orange: #ed7d2b;
    --shop-green: #4f9c2d;
    --shop-ink: #231F20;
    --shop-muted: #6b7280;
    --shop-line: #e5e7eb;
}
.sb-hero-banner {
    padding: 80px 24px;
    text-align: center;
    position: relative;
    background-image: url('/storage/media/PXhZZGx8oLikIX51PjYeYXaSKcxkC6i6O0e8CIgG.png');
    background-color: #172C07;
    background-size: cover;
    background-position: center;
}
.shop-section-with-filter {
    padding: 30px 0 60px 0;
}
.shop-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 70px;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #131413;
    margin-bottom: 45px;
}
.shop-breadcrumb a { 
    color: #131413;
    text-decoration: none;
}

.shop-breadcrumb a:hover {
    color: var(--shop-orange);
}
.shop-breadcrumb strong {
    color: var(--shop-ink);
    font-weight: 600;
}
.shop-layout {
    display: grid;
    grid-template-columns: 326px 1fr;
    gap: 36px;
    align-items: start;
}
.shop-section {
    padding: 30px 0 60px 0px;
}
.shop--show-section {
    padding: 30px 0 60px 0px;
}
/* ----------------------------- Sidebar ----------------------------------- */
.shop-sidebar { 
    position: sticky;
    top: 20px;
    padding-right: 20px;
    border-right: 1px solid rgb(0 0 0 / 10%);   
}

.shop-filter-title {
    font-size: 30px;
    font-weight: 500;
    color: #231F20;
    margin-bottom: 16px
}

.shop-filter-group:last-child {
    border-bottom: none;
}
.shop-search {
    position: relative;
    margin-bottom: 24px;
}
.shop-search i {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 13px;
}
.shop-search input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 0 14px 0 36px;
    font-size: 14px;
    outline: none;
}
.shop-search input:focus { border-color: var(--shop-orange); }

.shop-filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.shop-filter-heading {
    font-size: 16px;
    font-weight: 600;
    color: #131413;
    margin-bottom: 13px;
}

.shop-cat-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.shop-cat-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #B2B2B2;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all .2s ease;
}

.shop-cat-item input[type="checkbox"]:checked + .shop-checkbox {
    background: #5DA12C;
    border-color: #5DA12C;
}

.shop-cat-item input[type="checkbox"]:checked + .shop-checkbox {
    background: #5DA12C;
    border-color: #5DA12C;
}

.shop-cat-item input[type="checkbox"]:checked + .shop-checkbox::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='16' viewBox='0 0 18 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99949 15.4493C7.94644 15.4493 7.89396 15.4383 7.84536 15.417C7.79675 15.3958 7.75307 15.3647 7.71707 15.3257L0.102184 7.0886C0.0514209 7.03368 0.0177684 6.96516 0.00534479 6.89141C-0.0070788 6.81767 0.00226539 6.7419 0.0322339 6.67339C0.0622023 6.60487 0.111495 6.54658 0.174079 6.50564C0.236663 6.46471 0.309824 6.44291 0.384607 6.4429H4.04999C4.10502 6.44291 4.15942 6.45472 4.2095 6.47754C4.25958 6.50036 4.30418 6.53365 4.3403 6.57517L6.88522 9.50302C7.16026 8.9151 7.69268 7.93617 8.62699 6.74333C10.0082 4.97987 12.5774 2.38636 16.9729 0.0451344C17.0579 -0.000107137 17.1567 -0.0118491 17.2499 0.0122272C17.3431 0.0363034 17.4239 0.0944478 17.4763 0.175179C17.5287 0.25591 17.5489 0.353359 17.533 0.448284C17.5171 0.54321 17.4661 0.62871 17.3902 0.687904C17.3735 0.701019 15.6787 2.03563 13.7282 4.48021C11.9331 6.72983 9.54691 10.4083 8.37272 15.1571C8.35209 15.2406 8.30412 15.3147 8.23645 15.3677C8.16878 15.4206 8.08532 15.4494 7.99937 15.4494L7.99949 15.4493Z' fill='white'/%3E%3C/svg%3E");
}
.shop-cat-item:hover { color: var(--shop-orange); }
.shop-cat-count { color: #9ca3af; font-size: 12px; }

/* Price slider */
.shop-price-slider { position: relative; height: 28px; }

.shop-price-track {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 4px;
    background: #E6E6E6;
    border-radius: 4px;
}
.shop-price-range {
    position: absolute;
    height: 100%;
    background: var(--shop-green);
    border-radius: 4px;
}
.shop-range {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.shop-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--shop-green);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.shop-range::-moz-range-thumb {
    pointer-events: auto;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--shop-green);
    cursor: pointer;
}
.shop-price-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--shop-ink);
    font-weight: 600;
    margin-top: 10px;
}

/* ----------------------------- Main / grid ------------------------------- */
.shop-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.shop-results { font-size: 13.5px; color: var(--shop-muted); }
.shop-sort select {
    height: 38px;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 0 32px 0 14px;
    font-size: 13.5px;
    color: var(--shop-ink);
    background: #fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23131413' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shop-card {
    border: 1px solid #DBDDD9;
    border-radius: 12px;
    overflow: hidden;
    transition: all .15s;
    padding: 10px;
}
.shop-card:hover{
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    border-color: #5DA12C;    
}

.shop-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    background: #F5F6F4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.shop-card-media img {
    width: 100%; 
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; 
}
.shop-card-emoji {
    font-size: 64px; 
}

.shop-card-name {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    color: #131413;
    padding:0 10px;
}

.shop-card-name a { color: var(--shop-ink); text-decoration: none; }
.shop-card-name a:hover { color: var(--shop-orange); }

/*.shop-card-foot {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 12px;*/
/*    margin-top: auto;*/
/*}*/

.shop-card-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 25px;
    padding: 0 10px;
}

.shop-price { font-size: 20px; font-weight: 700; color: var(--shop-green); }
.shop-compare {
    font-size: 16px;
    color: #727272;
    text-decoration: line-through;
    font-weight: 400;
}

.shop-add {
    color: #fff;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    justify-content: center;
    background: #FF9811;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all .15s;
}
/* Pagination */

.shop-pagination {
    margin-top: 40px;
}
.shop-pager {
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: 10px; 
    
}
.shop-pager-num, .shop-pager-arrow {
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--shop-line);
    font-size: 14px;
    color: var(--shop-ink);
    text-decoration: none;
    background: #fff;
}
.shop-pager-num:hover, .shop-pager-arrow:not(.disabled):hover {
    border-color: var(--shop-green);
    color: var(--shop-green);
}
.shop-pager-num.active { 
    background: var(--shop-green); 
    border-color: var(--shop-green);
    color: #fff;
}
.shop-pager-arrow.disabled { 
    opacity: .4; 
    cursor: default;
}
.shop-pager-dots {
    color: var(--shop-muted);
}

.shop-empty {
    text-align: center;
    padding: 70px 20px;
    color: var(--shop-muted);
}
.shop-empty i {
    font-size: 42px; 
    color: #cbd5e1;
    margin-bottom: 14px;
}
.shop-empty p {
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
    }
    .shop-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media (max-width: 560px) {
    .shop-grid { 
        grid-template-columns: 1fr;
    }
    .shop-topbar {
        flex-direction: column; 
        align-items: flex-start;
        gap: 12px; 
        
    }
}

/* Product detail */
.pd-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 93px;
}
.pd-main-image {
    background: #f4f5f7;
    border-radius: 14px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pd-main-image img { 
    width: 100%;
    height: 100%; 
    object-fit: contain;
    mix-blend-mode: multiply; 
    
}
.pd-emoji { 
    font-size: 120px; 
    
}
.pd-thumbs { 
    display: flex; 
    gap: 12px;
    margin-top: 14px;
}
.pd-thumb {
    width: 72px; height: 72px;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    background: #f4f5f7;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}
.pd-thumb.active { 
    border-color: var(--shop-green); 
    
}
.pd-thumb img { 
    width: 100%;
    height: 100%; 
    object-fit: contain; 
    mix-blend-mode: multiply;
}

.pd-name {
    font-size: 34px;
    font-weight: 500;
    color: #131413;
    margin: 0 0 15px;
}

.pd-stockline { 
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.pd-stock-label {
    font-size: 14px;
    color: #131413;
    font-weight: 400;
}
.pd-badge { 
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    line-height: 100%;
    
}
.pd-badge-in { 
    background: #E6F2DE;
    color: #5DA12C;
    border: 1px solid #5DA12C;
}
.pd-badge-out { 
    background: #fdeaea; 
    color: #c0392b;
    border: 1px solid #f3c2bd;
}
.pd-stars { 
    color: #f5a623; 
    font-size: 14px;
    letter-spacing: 1px;
}

.pd-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    border-bottom: 1px solid #EBEBEB;
    font-size: 18px;
    color: var(--shop-ink);
    padding-bottom: 20px;
    font-weight: 500;
}
.pd-meta-row strong {
    font-weight: 600;
}
.pd-specs {
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    
}
.pd-specs li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--shop-ink);
    align-items: center;
}
.pd-specs li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #FF9811;
    border-radius: 100%;
}
.pd-spec-k {
    color: #131413;
    min-width: 90px;
    font-size: 18px;
    font-weight: 600;
    line-height: 100%;
}

.pd-field {
    margin-top: 12px;
    margin-bottom: 19px;
}
.pd-field-label {
    display: block;
    font-size: 16px;
    color: #131413;
    margin-bottom: 12px;
    font-weight: 500;
}
.pd-select-wrap {
    position: relative;
    width: 100%;
}
.pd-select {
    width: 100%;
    height: 50px;
    border: 1px solid #D5D5D5;
    border-radius: 10px;
    padding: 0 48px 0 16px;
    font-size: 14px;
    color: #323232;
    background-color: #fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.5703 6.85742L7.99888 11.4289L3.42745 6.85742' stroke='%23323232' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}
.pd-select:focus {
    outline: none;
}

.pd-select::-ms-expand {
    display: none;
}

.pd-select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-price {
    font-size: 36px;
    font-weight: 600;
    color: var(--shop-green);
    line-height: 100%;
}

.pd-compare {
    font-size: 20px;
    color: #373837;
    text-decoration: line-through;
    font-weight: 400;
    opacity: 60%;
}

.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--shop-line); border-radius: 8px; overflow: hidden; }
.pd-qty button { width: 40px; height: 44px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: #374151; }
.pd-qty button:hover { background: #f3f4f6; }
.pd-qty input { width: 50px; height: 44px; border: none; text-align: center; font-size: 15px; }

.pd-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px; 
    flex-wrap: wrap;
    flex-grow:1;
}
.pd-actions > * {
    width: calc(50% - 7px);
}
.pd-price-with-actions {
    display: flex;
    gap: 12px;
}
.pd-btn {
    padding: 14px 34px;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
}
.pd-btn-orange { background: var(--shop-orange); }
.pd-btn-orange:hover { background: #d96e1f; }
.pd-btn-green { background: #5da12c; }
.pd-btn-green:hover { background: #518f26; }
.pd-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Tabs */
.pd-tabs { margin-bottom: 60px; }

.pd-tab-heads {
    display: flex; 
    gap: 30px; 
    border-bottom: 1px solid var(--shop-line); 
    margin-bottom: 22px;
}

.pd-tab-head {
    background: none; border: none;
    padding: 0 0 14px;
    font-size: 20px;
    font-weight: 400;
    color:#131413;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.pd-tab-head.active { 
    color: var(--shop-ink); 
    border-bottom-color: var(--shop-green);
    font-weight:600;
}
.pd-tab-panel {
    display: none; 
    font-size: 14px; 
    line-height: 1.7; 
    color: #374151; 
    max-width: 100%;
    }
.pd-tab-panel.active { display: block; }

.pd-features-title { font-size: 15px; font-weight: 700; color: var(--shop-ink); margin: 0 0 12px; }
.pd-features { margin: 0 0 22px; padding-left: 20px; }
.pd-features li { font-size: 14px; line-height: 1.7; color: #374151; margin-bottom: 8px; }
.pd-features li strong { color: var(--shop-ink); }
.pd-desc-body { 
    font-size: 14px;
    line-height: 28px;
    color: #131413;
    font-weight: 400;
}
.pd-related .shop-grid {
    grid-template-columns: repeat(4, 1fr);
}
.pd-related-title {
    font-size: 35px;
    font-weight: 600;
    color: var(--shop-ink);
    margin-bottom: 26px;
}

/* Rating link in stockline */
.pd-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 8px; 
    text-decoration: none;
    line-height:0;
}
.pd-rating-count {
    font-size: 14px;
    color: #131413;
    font-weight: 400; 
 }

/* Reviews */
.pd-reviews { margin-bottom: 60px; }
.pd-reviews-grid { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; margin-bottom: 30px; }
.pd-reviews-summary {
    background: #f4f5f7; border-radius: 12px; padding: 24px; text-align: center;
}
.pd-avg-num { font-size: 44px; font-weight: 800; color: var(--shop-ink); line-height: 1; }
.pd-avg-stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; margin: 8px 0; }
.pd-avg-count { font-size: 13px; color: var(--shop-muted); }

.pd-review-form { background: #fafafa; border: 1px solid var(--shop-line); border-radius: 12px; padding: 22px; }
.pd-review-form h4 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--shop-ink); }
.pd-star-picker { font-size: 26px; color: #f5a623; letter-spacing: 4px; margin-bottom: 14px; cursor: pointer; user-select: none; }
.pd-star-pick { transition: transform .1s; }
.pd-star-pick:hover { transform: scale(1.15); }
.pd-review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.pd-review-input {
    width: 100%; border: 1px solid var(--shop-line); border-radius: 8px;
    padding: 11px 14px; font-size: 14px; outline: none; margin-bottom: 12px; font-family: inherit;
}
.pd-review-fields .pd-review-input { margin-bottom: 0; }
.pd-review-input:focus { border-color: var(--shop-orange); }
.pd-review-form .pd-btn { padding: 11px 26px; font-size: 14px; }

.pd-review-list { display: flex; flex-direction: column; gap: 0; }
.pd-review-item { padding: 18px 0; border-bottom: 1px solid var(--shop-line); }
.pd-review-head { display: flex; align-items: center; gap: 12px; }
.pd-review-name { font-size: 14px; font-weight: 700; color: var(--shop-ink); }
.pd-review-stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.pd-review-date { font-size: 12px; color: var(--shop-muted); margin-top: 3px; }
.pd-review-comment { font-size: 14px; color: #374151; line-height: 1.6; margin: 8px 0 0; }
.pd-review-empty { color: var(--shop-muted); font-size: 14px; padding: 10px 0; }
@media (max-width: 1011px) {
    .pd-top{
      gap: 30px;   
    }
    .pd-price-with-actions{
      gap:0px;
      flex-direction: column;   
    }
    .pd-related .shop-grid{
        grid-template-columns: repeat(3, 1fr);   
    }
}
@media (max-width: 768px) {
   .pd-related .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }  
}
@media (max-width: 700px) {
    .pd-reviews-grid { 
        grid-template-columns: 1fr;
    }
    .pd-review-fields {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 800px) {
    .pd-top { 
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .pd-main-image {
        height: 320px; 
        
    }
}
@media (max-width: 500px) {
     .pd-related .shop-grid {
        grid-template-columns: repeat(1, 1fr);
    } 
    .pd-name {
        font-size: 24px;
    }
    .pd-meta-row {
        font-size: 16px;
        gap: 12px;
    }
    .pd-specs li {
        font-size: 12px;
    }
    .pd-spec-k {
        font-size: 14px;
    }
    .pd-field-label {
        font-size: 14px;
    }
    .pd-price {
        font-size: 25px;
    }
    .pd-compare {
        font-size: 16px;
    }
    .pd-actions {
        margin-top: 15px;
    }
    .pd-top {
        margin-bottom: 30px;
    }
    .pd-tab-head {
        font-size: 14px;
    }
    .pd-related-title {
        font-size: 20px;
    }
    .pd-tabs{
       margin-bottom: 30px;  
    }
}
/* ==========================================================================
   My Cart page
   ========================================================================== */
.cart-page { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }

.cart-table-card {
    background: #F8F8F8;
    border-radius: 16px;
    overflow: hidden;
}

.cart-table-head, .cart-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 24px;
}
.cart-table-head {
    font-size: 16px;
    color: #131413;
    border-bottom: 1px solid var(--shop-line);
    font-weight: 500;
}
/*.cart-row { border-bottom: 1px solid var(--shop-line); }*/
.cart-row:last-child { border-bottom: none; }
#cartRows .cart-row+.cart-row {
    padding-top: 0;
}
.cart-prod { display: flex; gap: 14px; align-items: center; }
.cart-prod-media {
    width: 126px;
    height: 126px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--shop-line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}
.cart-prod-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-prod-emoji { font-size: 26px; }
.cart-prod-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--shop-ink);
}
.cart-prod-variant { font-size: 12px; color: var(--shop-muted); margin-top: 3px; }
.cart-cell-price, .cart-cell-total {
    font-size: 16px;
    color: var(--shop-ink);
    font-weight: 600;
}
.cart-cell-total { font-weight: 700; }
.cart-page .cart-qty {
    margin-top: 0;
    background: #fff;
    border: none;
}
.cart-summary {
    background: #F8F8F8;
    border-radius: 16px;
    padding: 24px;
}
.cart-summary h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 24px;
    color: #131413;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #131413;
    padding: 8px 0;
    font-weight: 500;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    color: var(--shop-ink);
    padding: 16px 0 6px;
    margin-top: 8px;
    border-top: 1px solid var(--shop-line);
}

.cart-summary-total span:last-child {
    color: #131413;
    font-weight: 600;
}

.cart-checkout-btn {
    display: block; width: 100%; text-align: center;
    margin-top: 16px; padding: 14px;
    background: #5da12c; color: #fff;
    border-radius: 9px; font-weight: 700; font-size: 15px;
    text-decoration: none; border: none; cursor: pointer;
}
.cart-checkout-btn:hover { background: #518f26; color: #fff; }
.cart-empty-page { text-align: center; padding: 80px 20px; color: var(--shop-muted); grid-column: 1 / -1; }
.cart-empty-page i { font-size: 50px; color: #d1d5db; margin-bottom: 16px; }

@media (max-width: 800px) {
    .cart-page { grid-template-columns: 1fr; }
    .cart-table-head { display: none; }
    .cart-row { grid-template-columns: 1.4fr 1fr; row-gap: 10px; }
}

/* ==========================================================================
   Checkout
   ========================================================================== */
.co-layout { 
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 28px;
    align-items: start;   
}

.co-login-bar {
    background: #F8F8F8;
    border-radius: 16px;
    padding: 25px;
    font-size: 16px;
    color: var(--shop-ink);
    margin-bottom: 18px;
    font-weight: 500;
}

.co-login-bar a { color: var(--shop-green); font-weight: 600; text-decoration: none; }
.co-login-bar a:hover { text-decoration: underline; }

.co-card { background: #f7f7f7; border: 1px solid var(--shop-line); border-radius: 12px; padding: 26px; margin-bottom: 18px; }

.co-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #131413;
    margin: 0 0 26px;
}

.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.co-col-2 { grid-column: 1 / -1; }
.co-field label { display: block; font-size: 13px; color: var(--shop-muted); margin-bottom: 7px; }
.co-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.co-field input,
.co-select-wrap select {
    width: 100%; height: 46px;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 0 14px; font-size: 14px; outline: none;
    background: #fff; color: var(--shop-ink);
}
.co-field input::placeholder { color: #9ca3af; }
.co-field input:focus,
.co-select-wrap select:focus { border-color: var(--shop-orange); }

/* Phone with country flag */
.co-phone { display: flex; gap: 8px; }
.co-phone-flag {
    width: 70px; height: 46px;
    border: 1px solid var(--shop-line); border-radius: 8px;
    background: #fff; padding: 0 6px; font-size: 16px; cursor: pointer;
}
.co-phone input { flex: 1; }

/* Selects with chevron */
.co-select-wrap { position: relative; }
.co-select-wrap select {
    appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23131413' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}

/* Stepper (Details → Delivery → Order Summary → Payment) */
.co-step { margin-bottom: 18px; }

.co-step-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8F8F8;
    border-radius: 16px;
    padding: 25px;
    font-size: 20px;
    font-weight: 600;
    color: var(--shop-ink);
    cursor: pointer;
    border: none;
}
.co-step-name { display: flex; align-items: center; gap: 10px; flex: 1; text-align: left; }
.co-step-check { width: 22px; height: 22px; border-radius: 50%; background: #5da12c; color: #fff; display: none; align-items: center; justify-content: center; font-size: 11px; flex: 0 0 auto; }
.co-step-edit { color: var(--shop-green); font-size: 13px; font-weight: 600; display: none; }
.co-step-chev { color: #9ca3af; font-size: 13px; }

.co-step-panel {
    display: none;
    border: ;
    border-radius: 16px;
    background: #F8F8F8;
    
}

.co-card-inner {
    padding: 25px;
}

.co-step.is-active .co-step-head { display: none; }
.co-step.is-active .co-step-panel { display: block; }

.co-step.is-done .co-step-check { display: inline-flex; }
.co-step.is-done .co-step-edit { display: inline; }
.co-step.is-done .co-step-chev { display: none; }

.co-step.is-upcoming .co-step-head { cursor: default; }
.co-step.is-upcoming .co-step-edit,
.co-step.is-upcoming .co-step-check { display: none; }

/* Delivery address card */
.co-deliver-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.co-edit-link {
    color: var(--shop-green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}
.co-edit-link:hover { text-decoration: underline; }
.co-deliver-tag { font-size: 11px; font-weight: 600; color: var(--shop-green); border: 1px solid #b7e0a8; border-radius: 20px; padding: 1px 8px; }

/* Address cards (multiple delivery addresses) */
.co-addr-card { 
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    background: transparent;
    cursor: pointer;
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
}
.co-addr-card:last-child {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
}
.co-addr-radio { margin-top: 3px; accent-color: var(--shop-green); width: 18px; height: 18px; flex: 0 0 auto; }
.co-addr-body { flex: 1; }
.co-addr-top {
      display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 16px;
    color: var(--shop-ink);
    font-weight: 500;  
}

.co-addr-sep { color: #cbd5e1; }

.co-addr-line { 
    font-size: 14px;
    color: #131413;
    margin-top: 6px;
    font-weight: 500;
}
.co-deliver-btn {
    margin-top: 12px;
    background: #FF9811;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.co-deliver-btn:hover { background: #d96e1f; }
.co-addr-remove { position: absolute; top: 10px; right: 12px; background: none; border: none; color: #9ca3af; font-size: 20px; line-height: 1; cursor: pointer; }
.co-addr-remove:hover { color: #dc2626; }
.co-addr-form { border-top: 1px solid var(--shop-line); margin-top: 8px; padding-top: 18px; }
.co-addr-form .co-field input { background: #fff; }

/* Order summary items */
.co-sum-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--shop-line); }
.co-sum-item:last-child { border-bottom: none; }
.co-sum-media { width: 56px; height: 48px; border-radius: 8px; background: #f4f5f7; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 56px; }
.co-sum-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.co-sum-emoji { font-size: 22px; }
.co-sum-info { flex: 1; }
.co-sum-name { font-size: 14px; font-weight: 600; color: var(--shop-ink); }
.co-sum-variant { font-size: 12px; color: var(--shop-muted); margin-top: 2px; }
.co-sum-qty { font-size: 12px; color: var(--shop-muted); margin-top: 2px; }
.co-sum-price { font-size: 14px; font-weight: 700; color: var(--shop-ink); }

/* Payment options */
.co-pay-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 0 20px 0;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--shop-ink);
    border-bottom: 1px solid #DADADA;
}
.co-pay-option:last-child{
  border-bottom:0;
}
.co-pay-option:hover { border-color: #cbd5e1; }

.co-pay-option input { width: 18px; height: 18px; accent-color: var(--shop-green); }
.co-pay-brand { font-weight: 800; }
.co-pay-extra { display: none; padding: 4px 4px 16px; }
.co-card-label { font-size: 13px; color: var(--shop-muted); margin-bottom: 7px; }
.co-card-element {
    display: block;
    width: 100%;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
}
.co-card-element.StripeElement--focus { border-color: var(--shop-orange); box-shadow: 0 0 0 3px rgba(255,152,17,.1); }
.co-card-element.StripeElement--invalid { border-color: #dc3545; }
.co-card-errors { color: #dc3545; font-size: 13px; margin-top: 6px; min-height: 16px; }

.co-bank-note {
    font-size: 12px;
    color: #131413;
    margin-bottom: 10px;
}
.co-bank-details {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 6px 12px;
    font-size: 14px;
}

.co-bank-details dt {
    color: #131413;
    font-weight: 500;
 }
.co-bank-details dd {
    color: #5DA12C; 
    font-weight: 500;
    margin: 0;
}

/* Actions */
.co-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 6px; }
.co-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 30px;
    font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
    border: 1px solid var(--shop-line); background: #fff; color: var(--shop-ink);
}
.co-btn-cancel:hover { background: #f7f7f7; }
.co-btn-continue { background: #5da12c; border-color: #5da12c; color: #fff; }
.co-btn-continue:hover { background: #518f26; }

/* Cart Details sidebar (shares cart-summary styles) */
.co-summary {
    background: #F8F8F8;
    border-radius: 16px;
    padding: 25px;
}
.co-summary h3 { font-size: 18px; font-weight: 700; margin: 0 0 18px; color: var(--shop-ink); }

@media (max-width: 860px) {
    .co-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .co-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Thank You / order confirmation
   ========================================================================== */
.ty-card {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 50px 30px #D2D2D24D;    
}
.ty-check-wrap { position: relative; width: 120px; height: 90px; margin: 0 auto 6px; }
.ty-spark { position: absolute; inset: 0; width: 120px; height: 90px; }
.ty-check { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: #5da12c; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }

.ty-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--shop-ink);
    margin: 8px 0 10px;
    text-align: center;
}
.ty-sub {   
    font-size: 14px;
    color: #818181;
    max-width: 653px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-align: center;
}

.ty-orderbar {     
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #FAF6EE;
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 30px;
}
.ty-orderbar-row {    
    font-size: 16px;
    color: #818181;
    margin-bottom: 4px;
    
}
.ty-orderbar-row strong {
    color: #131413;
}
.ty-orderbar-row a { 
    color: var(--shop-green);
    text-decoration: underline;
}
.ty-manage { 
    background: #FF9811;
    color: #fff;
    padding: 14px 30px;
    border-radius: 86px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
 }
.ty-manage:hover { background: #d96e1f; color: #fff; }

.ty-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 8px; }
.ty-h4 {
    font-size: 22px;
    font-weight: 500;
    color: var(--shop-ink);
    margin: 0 0 32px;  
}
.ty-addr { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: #374151; line-height: 1.9; }
.ty-addr li {  
    position: relative;
    padding-left: 16px;
    font-weight: 500;
    color: #131413;
}
.ty-addr li::before { content: "•"; position: absolute; left: 0; color: #9ca3af; }

.ty-divider {
    border: none;
    border-top: 1px solid #E5E5E5;
    margin: 40px 0;   
}

.ty-pay { display: flex; justify-content: space-between; gap: 20px; }
.ty-pay-right { text-align: right; }
.ty-pay-line { 
    font-size: 16px;
    color: #131413;
    margin-bottom: 8px;
}
.ty-pay-line strong { color: var(--shop-ink); }
.ty-badge { 
    font-size: 14px;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 46px;
    border: 1px solid;   
}
.ty-badge-paid { background: #e7f6e7; color: #2f7d1f; }
.ty-badge-await { background: #fef3c7; color: #b45309; }

.ty-stepper { display: flex; justify-content: space-between; position: relative; margin: 4px 0 30px; }
.ty-stepper::before { content: ""; position: absolute; top: 9px; left: 8%; right: 8%; height: 2px; background: var(--shop-line); z-index: 0; }
.ty-step { position: relative; z-index: 1; text-align: center; flex: 1; }
.ty-step-dot { width: 20px; height: 20px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 2px solid var(--shop-line); }
.ty-step.done .ty-step-dot { background: #5da12c; border-color: #5da12c; }
.ty-step-label { font-size: 12.5px; color: var(--shop-muted); }
.ty-step.done .ty-step-label { color: var(--shop-ink); font-weight: 600; }

.ty-items { background: #f7f7f7; border-radius: 14px; padding: 8px 22px; }
.ty-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #e7e7e7; }
.ty-item:last-of-type { border-bottom: none; }
.ty-item-media { width: 72px; height: 64px; border-radius: 8px; background: #fff; border: 1px solid var(--shop-line); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 72px; }
.ty-item-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ty-item-emoji { font-size: 26px; }
.ty-item-info { flex: 1; }
.ty-item-name { font-size: 14px; font-weight: 700; color: var(--shop-ink); }
.ty-item-variant { font-size: 12.5px; color: var(--shop-muted); margin-top: 4px; }
.ty-item-qty { display: inline-flex; align-items: center; border: 1px solid var(--shop-line); border-radius: 8px; background: #fff; }
.ty-item-qty button { width: 32px; height: 36px; border: none; background: transparent; font-size: 16px; color: #9ca3af; cursor: not-allowed; }
.ty-item-qty span { min-width: 28px; text-align: center; font-size: 14px; }
.ty-item-amount { text-align: right; min-width: 110px; }
.ty-item-tax { font-size: 12px; color: var(--shop-muted); margin-bottom: 4px; }
.ty-item-price { font-size: 16px; font-weight: 800; color: var(--shop-ink); }
.ty-subtotal { text-align: right; font-size: 15px; color: var(--shop-ink); padding: 18px 0; }
.ty-subtotal strong { font-weight: 800; }

@media (max-width: 700px) {
    .ty-card { padding: 30px 20px; }
    .ty-cols { grid-template-columns: 1fr; gap: 22px; }
    .ty-orderbar, .ty-pay { flex-direction: column; align-items: flex-start; }
    .ty-pay-right { text-align: left; }
    .ty-item { flex-wrap: wrap; }
    .ty-step-label { font-size: 10px; }
}
.ty-h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Breadcrumb layout fixes */
.shop-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.shop-breadcrumb-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.shop-sidebar-overlay {
    display: none;
}
/* Mobile Filter Trigger Button Style */
.shop-mobile-filter-btn {
    display: none;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    align-items: center;
    gap: 6px;
}
.shop-mobile-filter-btn:hover {
    background: #5DA12C;
}

.shop-sidebar-mobile-header {
    display: none;
}

/* Mobile responsive drawer overlay & layout overrides */
@media (max-width: 991px) {
    .shop-mobile-filter-btn {
        display: inline-flex;
    }
    .shop-sidebar.is-open .shop-filter-title {
    margin: 0;
    }
    .desktop-only-title {
        display: none !important;
    }
    
    .shop-sidebar-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .shop-sidebar-close {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        line-height: 1;
        color: #000;
    }

    /* Modal Sidebar Layout */
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%; /* Hidden out of frame */
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9999;
        box-shadow: 4px 0 15px rgba(0,0,0,0.15);
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
    }
    
    .shop-sidebar.is-open {
        left: 0;
    }
    .shop-sidebar-overlay {
        display: block;
    }
    /* Modal Backdrop */
    .shop-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    
    .shop-sidebar-overlay.is-visible {
        display: block;
        opacity: 1;
    }
    
    /* Prevent document body from scrolling when overlay is active */
    body.filter-open {
        overflow: hidden;
    }
}
@media (max-width:500px) {
 .cart-prod-media {
    min-width: 80px;
    min-height: 80px;
    width: 80px;
    height: 80px;
} 
.ty-item-amount{
 min-Width:100%;
}
.co-section-title{
 font-size:18px;
}
.cart-summary-total {
    font-size: 18px;
}
.cart-table-head, .cart-row {
    padding: 15px;
}
.cart-summary {
    padding: 15px;
}
.co-step-head {
    padding: 15px;
    font-size: 16px;
}
.cart-summary h3 {
    font-size: 20px;
}

.cart-prod-name {
    font-size: 14px;
}
.cart-cell-price, .cart-cell-total {
    text-align: right;
}
}