/* =========================================================
   SKS Pottery — V4 commerce layer v0.6.1
   Dedicated pottery page body + one-of-a-kind commerce safeguards.
========================================================= */

.sks-piece,
.sks-piece *,
.sks-piece *::before,
.sks-piece *::after{box-sizing:border-box;}

/* Dedicated block-theme product body. Keep header, piece and footer flush. */
.sks-product-page-shell{
    padding:0!important;
}

.sks-product-page-shell > *{
    margin-block-start:0!important;
    margin-block-end:0!important;
}

.sks-product-page-main{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#f7f2e7;
    display:flow-root;
}

.sks-commerce-notices{
    width:min(1180px,calc(100% - 40px));
    margin:18px auto 0;
}

.sks-commerce-notices:not(:has(.woocommerce-notices-wrapper > *)){
    display:none;
}

.single-product div.product.sks-commerce-product{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    float:none!important;
    display:block!important;
}

.single-product div.product.sks-commerce-product .summary.entry-summary{
    display:none!important;
}

.single-product div.product.sks-commerce-product > .woocommerce-tabs,
.single-product div.product.sks-commerce-product > .related,
.single-product div.product.sks-commerce-product > .up-sells{
    display:none!important;
}

.sks-piece{
    --sks-ivory:#f7f2e7;
    --sks-paper:#fffdf8;
    --sks-green:#18351d;
    --sks-leaf:#586d3f;
    --sks-clay:#9b5429;
    --sks-ink:#292b25;
    --sks-muted:#62695f;
    --sks-line:rgba(24,53,29,.16);
    --sks-tile:#ece9e1;

    display:flow-root;
    width:auto;
    max-width:none;
    margin:0;
    background:var(--sks-ivory);
    color:var(--sks-ink);
    font-family:"Manrope",Arial,sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.55;
}

/* Optional shortcode on a normal block page: release the Shortcode block itself
   from Twenty Twenty-Five's constrained content width. */
.wp-block-shortcode:has(> .sks-piece),
.wp-block-shortcode:has(.sks-piece){
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
}

.sks-piece a{color:inherit;text-decoration:none;}
.sks-piece button,
.sks-piece input,
.sks-piece select{font-family:inherit;}

.sks-piece__inner{
    width:min(1320px,calc(100% - 40px));
    margin:0 auto;
    padding:30px 0 68px;
}

.sks-piece__back{
    margin:0 0 22px;
    color:var(--sks-leaf);
    font-size:14px;
    font-weight:500;
}

.sks-piece__back a:hover,
.sks-piece__back a:focus-visible{
    color:var(--sks-green);
    text-decoration:underline;
    text-underline-offset:4px;
}

.sks-piece__layout{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(280px,.82fr);
    gap:clamp(26px,4.5vw,64px);
    align-items:start;
}

/* =========================================================
   Gallery
========================================================= */

.sks-piece-gallery{min-width:0;}

.sks-piece-gallery__main{
    margin:0 auto;
    min-height:0;
    display:block;
    max-width:100%;
    overflow:hidden;
    border-radius:90px 10px 10px 10px;
    background:var(--sks-tile);
}

.sks-piece-gallery__main img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:contain;
    object-position:center;
}

.sks-piece-gallery__thumbs{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    margin-top:12px;
}

.sks-piece-gallery__thumb{
    appearance:none;
    position:relative;
    display:block;
    text-decoration:none;
    aspect-ratio:1;
    overflow:hidden;
    padding:0;
    border:1px solid transparent;
    background:var(--sks-tile);
    cursor:pointer;
}

.sks-piece-gallery__thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.sks-piece-gallery__thumb.is-current{
    border-color:var(--sks-green);
}

.sks-piece-gallery__thumb:focus-visible{
    outline:2px solid var(--sks-clay);
    outline-offset:3px;
}

.sks-piece-gallery__placeholder{
    min-height:560px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:140px 10px 10px 10px;
    background:var(--sks-tile);
    color:var(--sks-leaf);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:34px;
}

/* =========================================================
   Product summary
========================================================= */

.sks-piece__summary{
    padding-top:8px;
    min-width:0;
}

.sks-piece__availability{
    margin:0 0 15px;
    color:var(--sks-leaf);
    font-size:14px;
    font-weight:500;
}

.sks-piece__availability.is-sold{color:#805746;}

.sks-piece__summary h1{
    margin:0;
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(48px,5vw,76px);
    font-weight:500;
    letter-spacing:-.035em;
    line-height:.92;
    text-wrap:balance;
}

.sks-piece__price{
    margin:18px 0 0;
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:34px;
    font-weight:600;
    line-height:1;
    font-variant-numeric:lining-nums tabular-nums;
}


.sks-piece__details{
    margin:30px 0 0;
    border-top:1px solid var(--sks-line);
}

.sks-piece__details > div{
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    gap:20px;
    padding:11px 0;
    border-bottom:1px solid var(--sks-line);
}

.sks-piece__details dt{
    margin:0;
    color:var(--sks-muted);
    font-size:14px;
    font-weight:400;
}

.sks-piece__details dd{
    margin:0;
    color:var(--sks-green);
    font-size:14px;
    font-weight:500;
}

.sks-piece__care{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
}

.sks-piece__care span{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:5px 10px;
    border:1px solid var(--sks-line);
    border-radius:999px;
    color:var(--sks-green);
    background:rgba(255,255,255,.24);
    font-size:13px;
    font-weight:500;
}

/* =========================================================
   Purchase area
========================================================= */

.sks-piece__purchase{
    margin-top:22px;
    padding:22px;
    border:1px solid var(--sks-line);
    background:rgba(255,253,248,.62);
}

.sks-piece__purchase-title,
.sks-piece__sold-title{
    margin:0 0 8px;
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:27px;
    font-weight:600;
    line-height:1.05;
}

.sks-piece__purchase-note{
    margin:12px 0 0;
    color:var(--sks-muted);
    font-size:13px;
    line-height:1.55;
}

.sks-piece__cart{margin:0;}

.sks-piece__primary-button,
.sks-piece__secondary-button{
    appearance:none;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:12px 22px!important;
    border:1px solid var(--sks-green)!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:var(--sks-green)!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:600!important;
    line-height:1.2!important;
    text-decoration:none!important;
    cursor:pointer;
}

.sks-piece__secondary-button{
    margin-top:8px;
    background:transparent!important;
    color:var(--sks-green)!important;
}

.sks-piece__primary-button:hover,
.sks-piece__primary-button:focus-visible{
    background:#244a2b!important;
}

.sks-piece__secondary-button:hover,
.sks-piece__secondary-button:focus-visible{
    background:rgba(24,53,29,.06)!important;
}

.sks-piece__notes{
    margin-top:36px;
    padding-top:26px;
    border-top:1px solid var(--sks-line);
}

.sks-piece__notes h2{
    margin:0 0 12px;
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:30px;
    font-weight:600;
    line-height:1;
}

.sks-piece__notes p{
    margin:0 0 13px;
    color:#4d554c;
    font-size:15px;
    line-height:1.7;
}

/* =========================================================
   WooCommerce notices
========================================================= */

.single-product .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper{
    width:min(1180px,calc(100% - 40px));
    margin:18px auto;
    font-family:"Manrope",Arial,sans-serif;
}

.sks-commerce-notices .woocommerce-notices-wrapper{
    width:100%;
    margin:0;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message{
    border-top-color:var(--sks-green,#18351d)!important;
    background:#fffdf8!important;
    color:#333b33!important;
    font-family:"Manrope",Arial,sans-serif!important;
    font-size:14px!important;
    line-height:1.5!important;
}

.woocommerce-message::before,
.woocommerce-info::before{color:#18351d!important;}

/* =========================================================
   Cart / checkout — restrained SKS polish
========================================================= */

.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce{
    width:min(1180px,calc(100% - 40px));
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    color:#292b25;
    font-family:"Manrope",Arial,sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.5;
}

.woocommerce-cart .wc-block-cart,
.woocommerce-checkout .wc-block-checkout{
    padding:36px 0 64px;
}

.woocommerce-cart .wc-block-components-product-name,
.woocommerce-checkout .wc-block-components-product-name,
.woocommerce-cart .product-name a{
    color:#18351d!important;
    font-family:"Cormorant Garamond",Georgia,serif!important;
    font-size:22px!important;
    font-weight:600!important;
}

.woocommerce-cart .wc-block-components-product-price,
.woocommerce-checkout .wc-block-components-product-price,
.woocommerce-cart .amount,
.woocommerce-checkout .amount{
    font-variant-numeric:lining-nums tabular-nums;
}

.woocommerce-cart .wc-block-components-button,
.woocommerce-checkout .wc-block-components-button,
.woocommerce-cart .button,
.woocommerce-checkout .button{
    border-radius:0!important;
    border-color:#18351d!important;
    background:#18351d!important;
    color:#fff!important;
    font-family:"Manrope",Arial,sans-serif!important;
    font-weight:600!important;
}

.woocommerce-cart .wc-block-components-button:hover,
.woocommerce-checkout .wc-block-components-button:hover,
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover{
    background:#244a2b!important;
}

.sks-cart-quantity{
    display:inline-block;
    min-width:1.5em;
    text-align:center;
    color:#18351d;
    font-weight:600;
}

/* =========================================================
   V4.1 — SKS cart
========================================================= */

.sks-cart-page-main{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#f7f2e7;
    display:flow-root;
}

.sks-cart-page-shell{
    margin:0;
    padding:0!important;
}

.sks-cart-page-shell > *{
    margin-block-start:0!important;
    margin-block-end:0!important;
}

.sks-cart{
    --sks-green:#18351d;
    --sks-green-soft:#31543f;
    --sks-ivory:#f7f2e7;
    --sks-paper:#fffdf8;
    --sks-clay:#b86e38;
    --sks-copy:#535d54;
    --sks-line:rgba(24,53,29,.14);

    width:auto;
    max-width:none;
    margin:0!important;
    background:var(--sks-ivory);
    color:#292f2a;
    font-family:"Manrope",Arial,sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.55;
    display:flow-root;
}

.sks-cart *,
.sks-cart *::before,
.sks-cart *::after{box-sizing:border-box;}

.sks-cart__band{
    background:var(--sks-green);
    color:#fff;
}

.sks-cart__band-inner{
    width:min(1180px,calc(100% - 48px));
    min-height:118px;
    margin:0 auto;
    padding:25px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.sks-cart__band h1{
    margin:0;
    color:#fff;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(44px,5vw,64px);
    font-weight:500;
    line-height:.9;
    letter-spacing:-.025em;
}

.sks-cart__band p{
    margin:9px 0 0;
    color:rgba(255,255,255,.77);
    font-size:14px;
    line-height:1.45;
}

.sks-cart__band .sks-cart__count{
    margin:0;
    color:#fff;
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
}

.sks-cart__inner{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
    padding:42px 0 72px;
}

.sks-cart__notices{margin:0 0 24px;}
.sks-cart__notices .woocommerce-error,
.sks-cart__notices .woocommerce-info,
.sks-cart__notices .woocommerce-message{margin:0 0 14px!important;}

.sks-cart__layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:64px;
    align-items:start;
}

.sks-cart__section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    padding-bottom:18px;
    border-bottom:1px solid var(--sks-line);
}

.sks-cart__section-head h2,
.sks-cart-summary h2,
.sks-cart-empty h2{
    margin:0;
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-weight:600;
}

.sks-cart__section-head h2,
.sks-cart-summary h2{font-size:30px;line-height:1;}

.sks-cart__section-head a,
.sks-cart-summary__back,
.sks-cart-item__remove{
    color:var(--sks-green);
    font-size:13px;
    font-weight:600;
    text-decoration:underline;
    text-underline-offset:3px;
}

.sks-cart__list{display:grid;}

.sks-cart-item{
    display:grid;
    grid-template-columns:164px minmax(0,1fr);
    gap:24px;
    padding:26px 0;
    border-bottom:1px solid var(--sks-line);
}

.sks-cart-item__media{
    width:164px;
    max-width:100%;
    overflow:hidden;
    border-radius:78px 8px 8px 8px;
    background:#ece7dc;
}

.sks-cart-item__media a{display:block;width:100%;height:100%;}
.sks-cart-item__image{
    display:block;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    object-fit:cover;
}

.sks-cart-item__body{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
}

.sks-cart-item__title-row{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:start;
}

.sks-cart-item__status{
    margin:0 0 5px;
    color:#6b746b;
    font-size:13px;
    font-weight:400;
    line-height:1.4;
}

.sks-cart-item h3{
    margin:0;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(25px,2.5vw,32px);
    line-height:1.05;
    font-weight:600;
}

.sks-cart-item h3 a{
    color:var(--sks-green);
    text-decoration:none;
}

.sks-cart-item h3 a:hover{text-decoration:underline;text-underline-offset:4px;}

.sks-cart-item__price{
    margin:2px 0 0;
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:26px;
    font-weight:600;
    line-height:1;
    font-variant-numeric:lining-nums tabular-nums;
    white-space:nowrap;
}

.sks-cart-item__warning{
    margin:12px 0 0;
    color:#8b3a2e;
    font-size:13px;
    font-weight:500;
}

.sks-cart-item__remove{margin-top:18px;}

.sks-cart-item.is-unavailable{opacity:.72;}
.sks-cart-item.is-unavailable .sks-cart-item__status{color:#8b3a2e;font-weight:600;}

.sks-cart-summary{
    position:sticky;
    top:112px;
    padding:26px 0 0;
    border-top:2px solid var(--sks-green);
}

.sks-cart-summary__row{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:20px;
    margin-top:27px;
    padding-bottom:20px;
    border-bottom:1px solid var(--sks-line);
    color:#454c45;
    font-size:16px;
}

.sks-cart-summary__row strong{
    color:var(--sks-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:28px;
    font-weight:600;
    line-height:1;
    font-variant-numeric:lining-nums tabular-nums;
}

.sks-cart-summary__note{
    margin:18px 0 0;
    color:var(--sks-copy);
    font-size:13px;
    line-height:1.55;
}

.sks-cart-summary__note--quiet{margin-top:8px;color:#717970;}

.sks-cart__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:13px 23px;
    border:1px solid var(--sks-green);
    border-radius:0;
    background:var(--sks-green);
    color:#fff!important;
    font-family:"Manrope",Arial,sans-serif;
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    text-decoration:none!important;
    transition:background .18s ease,transform .18s ease;
}

.sks-cart__button:hover,
.sks-cart__button:focus-visible{
    background:#244a2b;
    transform:translateY(-1px);
}

.sks-cart__button--checkout{
    width:100%;
    margin-top:25px;
}

.sks-cart-summary__back{
    display:inline-block;
    margin-top:20px;
}

.sks-cart-summary__alert{
    margin-top:24px;
    padding:13px 15px;
    border-left:3px solid var(--sks-clay);
    background:#f0e5d7;
    color:#5f4937;
    font-size:13px;
    line-height:1.5;
}

.sks-cart-empty{
    max-width:720px;
    margin:26px auto 8px;
    text-align:center;
}

.sks-cart-empty__plant{
    width:86px;
    margin:0 auto 18px;
    color:var(--sks-green-soft);
}

.sks-cart-empty__plant svg{display:block;width:100%;height:auto;}

.sks-cart-empty h2{
    font-size:clamp(34px,5vw,52px);
    line-height:1;
}

.sks-cart-empty p{
    max-width:560px;
    margin:17px auto 24px;
    color:var(--sks-copy);
    font-size:15px;
    line-height:1.7;
}

@media (max-width:900px){
    .sks-cart__layout{grid-template-columns:minmax(0,1fr) 290px;gap:38px;}
    .sks-cart-item{grid-template-columns:132px minmax(0,1fr);gap:18px;}
    .sks-cart-item__media{width:132px;}
}

@media (max-width:720px){
    .sks-cart__band-inner,
    .sks-cart__inner{width:min(100% - 30px,1180px);}

    .sks-cart__band-inner{min-height:104px;padding:21px 0;}
    .sks-cart__band h1{font-size:48px;}
    .sks-cart__band p:not(.sks-cart__count){max-width:260px;}

    .sks-cart__inner{padding:30px 0 54px;}
    .sks-cart__layout{grid-template-columns:1fr;gap:42px;}
    .sks-cart-summary{position:static;top:auto;}
}

@media (max-width:520px){
    .sks-cart__band-inner{align-items:flex-start;}
    .sks-cart__band .sks-cart__count{padding-top:7px;font-size:13px;}
    .sks-cart__section-head{align-items:flex-start;}

    .sks-cart-item{
        grid-template-columns:106px minmax(0,1fr);
        gap:14px;
        padding:21px 0;
    }

    .sks-cart-item__media{width:106px;border-radius:52px 7px 7px 7px;}
    .sks-cart-item__title-row{grid-template-columns:1fr;gap:8px;}
    .sks-cart-item__price{font-size:24px;}
    .sks-cart-item h3{font-size:25px;}
    .sks-cart-item__status{font-size:12px;}
    .sks-cart-item__remove{margin-top:13px;font-size:12px;}
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width:900px) and (min-width:701px){
    .sks-piece__inner{
        width:min(100% - 32px,1320px);
    }

    .sks-piece__summary h1{
        font-size:clamp(42px,6vw,60px);
    }

}

@media (max-width:700px){
    .sks-piece__layout{
        grid-template-columns:1fr;
        gap:34px;
    }

    .sks-piece-gallery{
        width:min(720px,100%);
    }

    .sks-piece__summary{
        max-width:720px;
    }
}

@media (max-width:600px){
    .sks-piece__inner{
        width:min(100% - 28px,1320px);
        padding:20px 0 48px;
    }

    .sks-piece__back{margin-bottom:16px;}

    .sks-piece-gallery__main{
        border-radius:64px 8px 8px 8px;
    }

    .sks-piece-gallery__thumbs{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:8px;
    }

    .sks-piece__summary h1{
        font-size:clamp(43px,13vw,60px);
    }

    .sks-piece__price{font-size:30px;}

    .sks-piece__details > div{
        grid-template-columns:92px minmax(0,1fr);
        gap:12px;
    }

    .sks-piece__purchase{padding:18px;}
}

@media (prefers-reduced-motion:reduce){
    .sks-piece *,
    .sks-piece *::before,
    .sks-piece *::after{transition:none!important;}
}

