/*
Theme Name: Diba Sweets
Theme URI: https://example.com/diba-sweets
Author: Diba Sweets
Description: A premium WooCommerce storefront for Diba Sweets.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: diba
*/
:root{--green:#102c27;--green-deep:#0b211e;--gold:#c4a267;--gold-light:#e5c98f;--cream:#f7f4ed;--paper:#fffefa;--ink:#263b34;--muted:#6f746c;--line:#e5dfd2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"DM Sans",Arial,sans-serif;font-size:16px;line-height:1.6}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.16}.shell{width:min(1240px,calc(100% - 64px));margin-inline:auto}.section{padding-block:106px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.23em;color:#9b773d;margin-bottom:22px}.eyebrow.light{color:#d3b37b}h1,h2{font-family:"Playfair Display",Georgia,serif;font-weight:400}h1 em,h2 em{font-weight:400;color:var(--gold);font-style:italic}h2{font-size:clamp(37px,4vw,60px);letter-spacing:-.035em}.button{display:inline-flex;align-items:center;justify-content:center;gap:35px;min-height:52px;padding:13px 23px;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;transition:transform .2s,background .2s}.button:hover,.product-button:hover{transform:translateY(-2px)}.button-gold{background:#c8a86c;color:#142d27}.button-gold:hover{background:#e0c388}.button span{font-size:18px;line-height:1}
.announcement{background:#bc9a5d;color:#102c27;text-align:center;padding:7px 14px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.announcement span{padding-inline:13px}.site-header{background:#f8f6ef;border-bottom:1px solid #e9e3d8;position:relative;z-index:5}.header-inner{min-height:91px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px}.brand{display:inline-flex;align-items:center;gap:10px;width:max-content;color:#9d763c}.brand-mark{width:42px;height:34px}.brand-name{display:flex;flex-direction:column;font-family:"Playfair Display",Georgia,serif;font-size:31px;line-height:.82;letter-spacing:.055em}.brand-name span{font:500 11px/1.3 "DM Sans",sans-serif;letter-spacing:.43em;margin:8px 0 0 3px}.main-nav{display:flex;gap:38px}.main-nav a,.cart-link{font-size:12px;font-weight:700;letter-spacing:.06em}.main-nav a:hover,.cart-link:hover{color:#a67f45}.cart-link{display:flex;align-items:center;justify-self:end;gap:8px}.cart-link svg{width:21px;height:21px}.cart-count{color:#9d763c}
.hero{position:relative;min-height:620px;background:var(--green-deep) url('assets/images/hero-mithai.webp') center center/cover no-repeat;color:#fff;display:flex;align-items:center;overflow:hidden}.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,29,25,.42),transparent 65%)}.hero-content{position:relative;z-index:1}.hero-copy{max-width:620px;padding-block:100px 116px}.hero h1{font-size:clamp(55px,6.6vw,94px);letter-spacing:-.045em;line-height:1.08;margin-bottom:22px}.hero-intro{max-width:480px;color:#e7e8df;font-size:17px;line-height:1.75;margin-bottom:32px}.hero-actions{display:flex;align-items:center;gap:22px}.hero-actions>span{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:14px;color:#e2d5ba}.hero-bottom{position:absolute;left:50%;bottom:23px;transform:translateX(-50%);display:flex;justify-content:space-between;font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#e7d2ad;z-index:1}.hero-bottom span span{font-size:18px;vertical-align:middle;padding-left:7px}.benefit-strip{border-bottom:1px solid var(--line);background:#f6f2e8}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding-block:23px}.benefit-grid span{font-size:11px;text-align:center;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.benefit-grid b{font-size:15px;color:#a88144;margin-right:10px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:50px;margin-bottom:40px}.section-heading h2{max-width:720px;margin-bottom:0}.section-heading>p{max-width:300px;color:var(--muted);font-size:14px;margin-bottom:8px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.product-card{background:#fff;border:1px solid #eee7da;transition:box-shadow .25s,transform .25s;min-width:0}.product-card:hover{box-shadow:0 18px 40px #172d1c18;transform:translateY(-3px)}.product-image-wrap{position:relative;aspect-ratio:1/1.17;overflow:hidden;background:#e9e5da}.product-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 53%;transition:transform .4s}.product-card:hover .product-image-wrap img{transform:scale(1.04)}.product-number{position:absolute;top:12px;left:12px;background:#f9f5ecdf;color:#9b763d;font-size:10px;letter-spacing:.1em;padding:5px 9px}.product-info{padding:21px 19px 19px}.product-heading{display:flex;justify-content:space-between;gap:8px;align-items:start}.product-heading h3{font-family:"Playfair Display",Georgia,serif;font-size:19px;font-weight:500;line-height:1.25;min-height:48px;margin-bottom:7px}.product-price{white-space:nowrap;color:#9a743a;font-weight:700;font-size:16px}.product-price ins{text-decoration:none}.product-price del{font-size:12px;color:#92968e}.product-info p{font-size:12px;color:#777c73;line-height:1.5;min-height:36px;margin-bottom:16px}.product-button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:11px 13px;background:var(--green);color:#fff;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700;transition:transform .2s,background .2s}.product-button:hover{background:#1d493e}.product-button span{font-size:17px;font-weight:400}.product-button-disabled{background:#8d938d;cursor:default}.product-button-disabled:hover{transform:none;background:#8d938d}
.story{background:#eae8dd}.story-layout{display:grid;grid-template-columns:1fr 1fr;min-height:510px}.story-art{overflow:hidden}.story-art img{width:100%;height:100%;max-height:550px;object-fit:cover;object-position:center 58%}.story-copy{display:flex;flex-direction:column;justify-content:center;padding:65px 10%}.story-copy h2{margin-bottom:26px}.story-copy>p:not(.eyebrow){max-width:490px;color:#626b61;line-height:1.9}.text-link{align-self:flex-start;border-bottom:1px solid #a98348;color:#8f6c38;font-weight:700;font-size:12px;letter-spacing:.09em;text-transform:uppercase;padding-block:8px}.text-link span{font-size:18px;margin-left:22px}.ordering{text-align:center}.ordering h2{margin-bottom:47px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;text-align:left}.steps>div{border-top:1px solid #cbb88c;padding-top:23px}.steps span{font-family:"Playfair Display",Georgia,serif;color:#ad894c;font-size:27px}.steps h3{font-family:"Playfair Display",Georgia,serif;font-size:25px;font-weight:400;margin:20px 0 10px}.steps p{font-size:14px;color:#6f776e;line-height:1.7}.closing{background:var(--green) url('assets/images/hero-mithai.webp') right center/auto 120% no-repeat;color:#fff;position:relative;padding-block:105px}.closing::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b211ef2 30%,#0b211e6b 100%)}.closing .shell{position:relative}.closing h2{font-size:clamp(43px,5vw,70px);margin-bottom:29px}
.site-footer{background:#0d2521;color:#d5ded5;padding-top:65px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:70px;padding-bottom:55px}.footer-brand{font-family:"Playfair Display",Georgia,serif;font-size:34px;color:#c3a36d;line-height:1}.footer-brand span{font:500 10px "DM Sans",sans-serif;letter-spacing:.35em;margin-left:10px}.footer-grid p{font-size:13px;color:#aab7aa;line-height:1.8;max-width:310px;margin-top:19px}.footer-grid h3{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#c6a66e;margin-bottom:20px}.footer-grid a{display:block;font-size:13px;margin-bottom:11px}.footer-grid a:hover{color:#d6b778}.footer-bottom{border-top:1px solid #ffffff24;display:flex;justify-content:space-between;gap:12px;padding-block:20px;font-size:11px;color:#9cafa2;letter-spacing:.05em}
.content-page{padding-block:60px 100px;min-height:50vh}.content-page>h1,.content-page article>h1{font-size:clamp(40px,5vw,62px);margin-bottom:35px}.page-body{max-width:850px}.woocommerce-page-content{max-width:1160px}.woocommerce-page-content .woocommerce-products-header__title,.woocommerce-page-content .product_title,.woocommerce-page-content h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(36px,4vw,55px);font-weight:400}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--green);color:#fff;border-radius:0;padding:13px 20px;font-size:12px;letter-spacing:.06em;text-transform:uppercase}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#1f4c40;color:#fff}.woocommerce table.shop_table{border-radius:0;border-color:var(--line)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:16px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .quantity .qty{border:1px solid #d7d3ca;border-radius:0;background:#fff;padding:12px;color:var(--ink)}.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{outline:2px solid #b8955c;outline-offset:1px}.woocommerce .woocommerce-checkout #payment{background:#f2eee5;border-radius:0}.woocommerce .woocommerce-checkout #payment div.payment_box{background:#e6e0d2}.woocommerce .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#e6e0d2}.woocommerce .woocommerce-message{border-top-color:#ad8a4f}.woocommerce .woocommerce-message::before{color:#ad8a4f}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:#96713d}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:"Playfair Display",Georgia,serif;font-size:20px}.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout-review-order{background:#f7f3eb;padding:24px}.woocommerce .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-radius:0}
.wc-block-components-button:not(.is-link){background:var(--green);color:#fff;border-radius:0;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:700}.wc-block-components-button:not(.is-link):hover{background:#1f4c40;color:#fff}.wc-block-components-text-input input,.wc-blocks-components-select .wc-blocks-components-select__select{border-radius:0!important}.wc-block-components-totals-wrapper{border-color:var(--line)}
.brand-name{display:inline-block;white-space:nowrap;font-size:29px;line-height:1;letter-spacing:.03em}.brand-name span{display:inline;font:600 12px/1 "DM Sans",sans-serif;letter-spacing:.28em;margin:0 0 0 4px;vertical-align:middle}.footer-address{font-size:13px;font-style:normal;line-height:1.8;color:#aab7aa;margin-top:18px}.footer-address a{display:inline-block;color:#e2c58b;font-weight:700;margin-top:8px}.pickup-contact{margin:38px 0 0;color:#626b61;font-size:14px}.pickup-contact a{color:#8f6c38;border-bottom:1px solid currentColor}.mobile-shop-nav{display:none}
.footer-grid .inline-link{display:inline;color:#e2c58b;margin:0;text-decoration:underline;text-underline-offset:3px}.instagram-link{color:#e2c58b!important;font-weight:700;margin-top:14px!important}.product-info p strong{color:#536158;font-size:11px;font-weight:700}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.main-nav{gap:18px}.hero{min-height:560px}.hero-copy{max-width:530px}.story-copy{padding-inline:8%}}
@media(max-width:760px){.shell{width:min(100% - 36px,580px)}.section{padding-block:68px}.announcement{font-size:9px;letter-spacing:.06em}.header-inner{min-height:75px;grid-template-columns:1fr auto;gap:10px}.brand-name{font-size:27px}.brand-mark{width:32px}.main-nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:24px;padding-bottom:13px}.main-nav a{font-size:10px}.cart-link{grid-column:2;grid-row:1}.cart-link span{font-size:0}.cart-count{font-size:11px!important}.hero{min-height:650px;background-position:64% center;align-items:start}.hero::before{background:linear-gradient(180deg,#09231eea 0%,#09231eaa 45%,#09231e0d 100%)}.hero-copy{padding-block:70px 230px;max-width:560px}.hero h1{font-size:clamp(52px,12vw,77px)}.hero-intro{font-size:15px;max-width:390px}.hero-actions{display:block}.hero-actions>span{display:block;margin-top:15px}.hero-bottom{bottom:17px}.benefit-grid{grid-template-columns:1fr 1fr;row-gap:12px}.benefit-grid span{font-size:9px}.section-heading{display:block;margin-bottom:27px}.section-heading>p{margin-top:15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info{padding:13px}.product-heading{display:block}.product-heading h3{font-size:17px;min-height:0;margin-bottom:6px}.product-price{display:block;margin-bottom:7px}.product-info p{font-size:11px;min-height:0}.product-button{padding:10px;font-size:9px;letter-spacing:.05em}.story-layout{display:block}.story-art{height:360px}.story-copy{padding:55px 18px}.steps{grid-template-columns:1fr;gap:22px}.steps h3{margin:10px 0}.closing{padding-block:76px;background-size:auto 100%}.footer-grid{grid-template-columns:1fr 1fr;gap:26px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:7px}.woocommerce-page-content{padding-block:40px 70px}}
@media(max-width:410px){.main-nav{gap:13px}.main-nav a{font-size:9px}.product-grid{gap:9px}.product-image-wrap{aspect-ratio:1/1.3}.product-info{padding:10px}.product-heading h3{font-size:15px}.product-info p{display:none}.product-button{margin-top:11px}.hero{min-height:610px}}
@media(max-width:760px){body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.brand-name{font-size:25px}.brand-name span{font-size:10px;letter-spacing:.17em;margin-left:2px}.mobile-shop-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:grid;grid-template-columns:repeat(4,1fr);height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fffdf8;border-top:1px solid #dfd8cb;box-shadow:0 -5px 24px #102c2717}.mobile-shop-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;color:#69746b;font-size:10px;font-weight:700;letter-spacing:.02em}.mobile-shop-nav a[aria-current=page],.mobile-shop-nav a:hover{color:#9b773d}.mobile-shop-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-shop-nav b{display:inline-flex;justify-content:center;align-items:center;min-width:15px;height:15px;border-radius:9px;background:#c4a267;color:#102c27;font-size:9px}.footer-grid{padding-bottom:35px}.product-image-wrap img{object-position:center center}}
@media(max-width:410px){.brand-name{font-size:22px}.brand-name span{font-size:9px;letter-spacing:.12em}.brand-mark{width:28px}.header-inner{gap:5px}.cart-link svg{width:19px;height:19px}}
