/*
Theme Name: REVIVA Premium
Author: REVIVA
Description: Premium handmade decor storefront with native product and email order management.
Version: 3.4.0
Requires PHP: 7.4
Text Domain: reviva
*/
:root{--green:#294c3a;--deep:#183829;--cream:#fbf7ef;--red:#a32630;--gold:#b08b51;--ink:#283329}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fffdf9;font:16px/1.6 Arial,sans-serif}a{text-decoration:none;color:inherit}img{max-width:100%}.wrap{max-width:1320px;margin:auto;padding:0 26px}.top{background:var(--deep);color:#fff;font-size:12px;padding:7px 0}.rev-top-inner{display:flex;justify-content:space-between;gap:15px}.head{background:rgba(255,253,248,.97);box-shadow:0 2px 16px #261b0b12;position:relative;z-index:5}.rev-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:94px}.rev-brand{display:flex;align-items:center;flex:0 0 230px;width:230px}.logo,.custom-logo{display:block;width:100%;max-width:230px;height:78px;object-fit:contain}.nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:clamp(12px,2vw,30px);font-size:14px;font-weight:700}.nav a:hover{color:var(--red)}.cartcount{background:#f0e9dc;border-radius:30px;padding:11px 17px}.rev-hero{position:relative;min-height:430px;background:#eae0d0;overflow:hidden}.rev-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 50%;filter:saturate(.95)}.rev-hero-inner{position:relative;min-height:430px;display:flex;align-items:center;justify-content:space-between;gap:28px}.rev-hero-content{max-width:575px;padding:44px 0;z-index:1}.rev-kicker{color:#aa8245;letter-spacing:2px;font-size:12px;font-weight:800}.rev-hero h1{font:normal clamp(43px,5vw,73px)/1.07 Georgia,serif;letter-spacing:-2px;color:var(--deep);margin:12px 0 18px}.rev-hero h1 em{color:var(--red);font-style:normal}.rev-heart{color:var(--gold);font-size:.75em}.rev-hero p{font-size:17px;max-width:500px;margin:0 0 23px}.btn,button,input[type=submit]{display:inline-block;background:var(--green);color:white;border:0;border-radius:30px;padding:13px 23px;font:700 14px Arial,sans-serif;cursor:pointer}.btn:hover,button:hover{background:#476b55}.rev-hero-frame{height:355px;width:275px;flex:0 0 275px;overflow:hidden;border:7px solid #fff9;border-radius:160px 160px 18px 18px;box-shadow:0 15px 40px #0002;margin-right:5%}.rev-hero-frame img{width:100%;height:100%;object-fit:cover;object-position:center}.rev-categories{background:#f8f3e9;padding:24px 0}.rev-cat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.rev-cat{height:170px;position:relative;overflow:hidden;border-radius:14px;background:#e6d8c6;box-shadow:0 5px 20px #00000012}.rev-cat img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.rev-cat:hover img{transform:scale(1.05)}.rev-cat:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0008)}.rev-cat span{position:absolute;bottom:0;left:0;right:0;z-index:1;background:#294c3ad9;color:white;font-weight:700;text-align:center;padding:10px 6px;font-size:14px}.rev-cat:first-child span{background:#9b2229e8}.rev-cat:nth-child(3) span{background:#b47a81e8}.rev-cat:nth-child(4) span{background:#9c8468e8}.rev-cat b{margin-left:5px}.rev-features{border-bottom:1px solid #eee5d7;background:#fffdf9;padding:21px 0}.rev-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.rev-feature-grid>div{display:flex;align-items:center;gap:14px;border-right:1px solid #e8e2d8}.rev-feature-grid>div:last-child{border:0}.rev-feature-grid span{font-size:28px;color:var(--deep)}.rev-feature-grid p{margin:0}.rev-feature-grid strong,.rev-feature-grid small{display:block}.rev-feature-grid strong{font-size:13px}.rev-feature-grid small{font-size:12px;color:#777}.section{padding:50px 0}.rev-products-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px;gap:20px}.rev-products-head h2{font:normal 37px Georgia,serif;margin:0}.rev-outline{border:1px solid #d7c8b1;padding:10px 17px;border-radius:28px;font-size:13px;font-weight:700}.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.product,.category{background:white;border-radius:14px;overflow:hidden;border:1px solid #f0e9df;box-shadow:0 8px 22px #0000000b}.product img,.category img{display:block;width:100%;height:210px;object-fit:cover;background:#f2e9de}.product .info{padding:15px}.product h3{font-size:15px;line-height:1.4;margin:0 0 8px}.price{color:var(--red);font-weight:800;margin:8px 0}.product form{margin:12px 0 0}.product button{font-size:12px;padding:10px 16px}.rev-empty{grid-column:1/-1;text-align:center;padding:35px;background:#f8f2e9;border-radius:14px}.rev-story{text-align:center;padding:58px 18px;background:#efe6d9}.rev-story h2{font:normal clamp(28px,4vw,43px) Georgia,serif;margin:10px 0}.rev-story p{max-width:660px;margin:auto}.footer{background:var(--deep);color:white;padding:35px 0}.footer .wrap{display:flex;justify-content:space-between;gap:25px}.content{max-width:1100px;margin:50px auto;padding:0 24px}.content h1{font:normal 45px Georgia,serif}.notice{background:#eaf4e8;border:1px solid #bfd3ba;padding:14px;border-radius:10px;margin:20px 0}.error{background:#fff0eb;border-color:#efc2b6}.checkout{max-width:680px}.field{display:block;margin:14px 0;font-weight:600}.field input,.field textarea{display:block;width:100%;padding:12px;border:1px solid #c9c7c0;border-radius:8px;font:inherit}.cart-table{width:100%;border-collapse:collapse}.cart-table th,.cart-table td{padding:12px;border-bottom:1px solid #ddd;text-align:left}.pill{border-radius:20px;background:#eee6d9;padding:6px 12px;display:inline-block;margin:5px}
@media(max-width:1000px){.grid,.rev-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rev-feature-grid{grid-template-columns:repeat(2,1fr)}.rev-header-inner{flex-direction:column;padding:10px 0}.rev-hero-frame{margin-right:0}}@media(max-width:650px){.wrap{padding:0 16px}.rev-top-inner{justify-content:center}.rev-top-inner span:last-child{display:none}.rev-header-inner{gap:8px}.rev-brand{width:200px;flex-basis:auto}.logo,.custom-logo{height:65px}.nav{justify-content:center;gap:12px;font-size:12px}.cartcount{padding:7px 10px}.rev-hero,.rev-hero-inner{min-height:0}.rev-hero-bg{background-position:center}.rev-hero-inner{display:block}.rev-hero-content{padding:38px 0 28px}.rev-hero h1{font-size:44px}.rev-hero p{font-size:15px}.rev-hero-frame{display:none}.rev-cat-grid,.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rev-cat{height:150px}.rev-cat span{font-size:12px}.rev-feature-grid{gap:12px}.rev-feature-grid>div{border:0}.rev-feature-grid strong{font-size:12px}.rev-feature-grid small{font-size:11px}.rev-feature-grid span{font-size:22px}.rev-products-head{align-items:start}.rev-products-head h2{font-size:28px}.rev-outline{font-size:11px;padding:8px}.product img{height:150px}.product .info{padding:10px}.product h3{font-size:13px}.footer .wrap{display:block}.section{padding:36px 0}}

/* REVIVA 3.1: clickable product cards and product details */
.rev-product-link{display:block;overflow:hidden;text-decoration:none;cursor:pointer}
.rev-product-link img{display:block;width:100%;height:240px;object-fit:cover;transition:transform .25s ease}
.rev-product-link:hover img{transform:scale(1.035)}
.rev-product-title{color:inherit;text-decoration:none}
.rev-product-title:hover,.rev-view-product:hover{text-decoration:underline}
.rev-view-product{display:inline-block;margin:8px 0 12px;color:#28533e;font-weight:650;text-decoration:none}
.single-reviva_product .content{max-width:1100px;margin:40px auto;padding:30px;background:#fffaf2;border-radius:20px}
.single-reviva_product .content img{width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:12px}
.single-reviva_product .content button{background:#28533e;color:white;border:0;border-radius:24px;padding:13px 24px;cursor:pointer}
@media(max-width:650px){.rev-product-link img{height:190px}.single-reviva_product .content{margin:15px;padding:18px}}

/* REVIVA 3.2 homepage refresh — scoped styles, preserving ordering and product functions */
.rev-hero{background:linear-gradient(115deg,#f9f3e8 0%,#f2e5d2 100%);min-height:470px}
.rev-hero-bg{opacity:.18;filter:blur(12px);transform:scale(1.08);pointer-events:none}
.rev-hero-inner{min-height:470px;gap:45px}
.rev-hero-content{max-width:640px}
.rev-hero h1{font-size:clamp(44px,5vw,69px);letter-spacing:-1.8px;line-height:1.11}
.rev-hero p{color:#556155;line-height:1.8}
.rev-hero-frame{width:min(37vw,430px);height:385px;flex:0 1 430px;border:8px solid #fff;border-radius:190px 190px 22px 22px;margin-right:2%;box-shadow:0 20px 65px #3a2c1c24;background:#e9ded0}
.rev-hero-frame img{object-fit:cover;object-position:center}
.rev-hero .btn{background:#9b2630;padding:15px 27px;box-shadow:0 9px 22px #9b263029}
.rev-hero .btn:hover{background:#7d1923}
.rev-categories{padding:58px 0 65px;background:#fffcf7}
.rev-section-heading{text-align:center;margin:0 auto 30px;max-width:700px}
.rev-section-heading h2{font:normal clamp(28px,3.4vw,43px)/1.2 Georgia,serif;color:#1b3d2d;margin:10px 0}
.rev-section-heading p{margin:0;color:#767266}
.rev-cat{height:205px;border-radius:18px;box-shadow:0 12px 30px #38240f16;transition:transform .2s,box-shadow .2s}
.rev-cat:hover{transform:translateY(-5px);box-shadow:0 18px 32px #38240f26}
.rev-cat img{display:block;object-fit:cover;object-position:center}
.rev-cat span{padding:14px 8px;font-size:13px;letter-spacing:.15px}
.rev-features{padding:30px 0;background:#f5efe4}
.rev-products{background:#fffdf9}
.rev-products-head h2{color:#1d3f2e}
.product{transition:transform .2s,box-shadow .2s}
.product:hover{transform:translateY(-4px);box-shadow:0 15px 30px #00000013}
.rev-editorial{padding:68px 0;background:#f7f1e8}
.rev-editorial-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(28px,5vw,75px)}
.rev-editorial-photo{height:360px;overflow:hidden;border-radius:24px;box-shadow:0 15px 40px #00000012}
.rev-editorial-photo img{width:100%;height:100%;object-fit:cover;display:block}
.rev-editorial-copy h2{font:normal clamp(31px,3.5vw,48px)/1.2 Georgia,serif;color:#1d3f2e;margin:15px 0}
.rev-editorial-copy p{line-height:1.9;color:#6c695f;margin-bottom:27px}
.rev-story{background:#234431;color:#fff;padding:64px 18px}
.rev-story .rev-kicker{color:#e6c58c}.rev-story h2{color:#fff}.rev-story p{color:#f0e9dd}
@media(max-width:1000px){.rev-hero-frame{margin-right:0;width:35vw;height:335px}.rev-cat{height:185px}}
@media(max-width:650px){.rev-hero{min-height:0}.rev-hero-inner{min-height:0}.rev-hero-content{padding:52px 0 44px}.rev-hero h1{font-size:clamp(37px,10vw,48px)}.rev-hero-frame{display:none}.rev-categories{padding:42px 0}.rev-cat{height:170px}.rev-editorial{padding:42px 0}.rev-editorial-grid{grid-template-columns:1fr}.rev-editorial-photo{height:270px}.rev-section-heading{margin-bottom:23px}.rev-story{padding:45px 18px}}
@media(prefers-reduced-motion:reduce){.rev-cat,.product,.rev-cat img{transition:none}}

/* REVIVA 3.3: Boutique hero slider and refined storefront */
.rev-brand{width:305px;flex:0 0 305px}.logo,.custom-logo{width:100%;max-width:305px;height:96px;object-fit:contain}.rev-header-inner{min-height:110px}.head{position:relative}
.rev-slider{height:500px;min-height:0;background:#f1e5d6;position:relative;isolation:isolate;overflow:hidden}
.rev-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s;z-index:0;background:linear-gradient(90deg,#fff8ec 0%,#f5e8d9 100%)}
.rev-slide.is-active{opacity:1;visibility:visible;z-index:1}.rev-slide:before{content:'';position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(255,249,239,.97) 0%,rgba(255,249,239,.88) 37%,rgba(255,249,239,.15) 74%),var(--rev-slide-img);background-size:cover;background-position:center;filter:blur(13px);transform:scale(1.06);opacity:.42}
.rev-slide-layout{height:100%;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,43%);align-items:center;gap:50px;padding-top:22px;padding-bottom:22px}.rev-slide-copy{position:relative;z-index:2;max-width:660px}.rev-slide-copy h1{font:normal clamp(42px,5vw,69px)/1.12 Georgia,serif;letter-spacing:-1.6px;margin:15px 0;color:#183829}.rev-slide-copy h1 em{font-style:normal;color:#a32630}.rev-slide-copy p{font-size:18px;line-height:1.7;max-width:520px;margin:0 0 26px}.rev-slide-photo{height:435px;width:100%;border-radius:20px;overflow:hidden;box-shadow:0 16px 45px #2716092c;background:#e8d6c5}.rev-slide-photo img{height:100%;width:100%;object-fit:contain;object-position:center;background:#e7dcd0}
.rev-slide-arrow{position:absolute;top:48%;z-index:3;width:42px;height:42px;padding:0;border-radius:50%;background:#173b2be8;color:#fff;font:30px/1 Arial,sans-serif;display:grid;place-items:center}.rev-prev{left:14px}.rev-next{right:14px}.rev-slide-dots{position:absolute;z-index:3;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.rev-slide-dots button{width:11px;height:11px;border-radius:50%;border:2px solid #fff;background:#6b7369;padding:0;box-shadow:0 1px 5px #0004}.rev-slide-dots button.is-active{background:#a32630;border-color:#a32630}
.rev-cat{height:210px}.rev-cat img{object-fit:cover}.rev-products .grid{grid-template-columns:repeat(4,minmax(0,1fr))}.rev-products .product img{height:255px}.rev-products .product{transition:transform .2s,box-shadow .2s}.rev-products .product:hover{transform:translateY(-4px);box-shadow:0 14px 32px #0002}
@media(max-width:900px){.rev-brand{width:245px;flex-basis:245px}.logo,.custom-logo{max-width:245px;height:84px}.rev-slide-layout{gap:20px;grid-template-columns:1fr 38%}.rev-slide-photo{height:340px}.rev-slider{height:450px}.rev-slide-copy h1{font-size:46px}.rev-products .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.rev-brand{width:240px;flex-basis:auto}.logo,.custom-logo{max-width:240px;height:82px}.rev-slider{height:510px}.rev-slide-layout{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:30px 36px 45px}.rev-slide-copy h1{font-size:clamp(34px,8vw,43px);margin:9px 0}.rev-slide-copy p{font-size:14px;line-height:1.5;margin-bottom:13px}.rev-slide-copy .btn{font-size:12px;padding:11px 16px}.rev-slide-photo{height:175px;width:min(100%,300px);flex-shrink:0}.rev-slide-arrow{height:31px;width:31px;font-size:24px}.rev-prev{left:3px}.rev-next{right:3px}.rev-products .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rev-products .product img{height:170px}.rev-cat{height:170px}}
@media(prefers-reduced-motion:reduce){.rev-slide{transition:none}}

/* REVIVA 3.4 — polished, compact boutique homepage; overrides only presentation */
:root{--green:#214936;--deep:#173c2d;--cream:#faf5ec;--red:#9c2430;--gold:#ac8244}
body{background:#fffdfa}
.top{background:#214936;letter-spacing:.2px}
.head{box-shadow:0 4px 24px #1d291b12}
.rev-header-inner{min-height:100px;gap:22px}
.rev-brand{flex:0 0 280px;width:280px}
.logo,.custom-logo{width:100%;height:86px;max-width:280px;object-fit:contain}
.nav{gap:clamp(13px,1.7vw,26px)}.nav a{transition:color .2s}
.rev-slider{height:465px;min-height:0;background:#f7efe3}
.rev-slide{background:linear-gradient(115deg,#fffaf3 0%,#f5eadd 54%,#e9d9c6 100%)}
.rev-slide:before{display:none}
.rev-slide:after{content:'✧';position:absolute;right:44%;top:14px;font:100px Georgia,serif;color:#bb945c20;pointer-events:none}
.rev-slide-layout{max-width:1320px;grid-template-columns:minmax(0,1fr) minmax(0,47%);gap:clamp(20px,4vw,60px);padding-top:26px;padding-bottom:26px}
.rev-slide-copy{padding:0 0 0 12px;max-width:600px}
.rev-slide-copy h1{font-size:clamp(42px,4.2vw,62px);line-height:1.1;letter-spacing:-1.6px;margin:14px 0 17px}
.rev-slide-copy p{font-size:16px;line-height:1.75;max-width:470px;color:#48564c}
.rev-slide-copy .btn{background:#9c2430;padding:14px 24px;box-shadow:0 10px 22px #9c24301f}
.rev-slide-photo{height:395px;width:100%;border-radius:26px;box-shadow:0 20px 40px #48321f20;position:relative;background:#e5d7c8;border:6px solid #fff9}
.rev-slide-photo img{width:100%;height:100%;object-fit:contain;object-position:center;background:#e6d9c9}
.rev-photo-stamp{position:absolute;right:12px;bottom:12px;border-radius:20px;background:#fffdf3ed;color:#244834;padding:7px 13px;font-size:12px;font-weight:700;box-shadow:0 4px 16px #0002}
.rev-slide-arrow{top:50%;width:36px;height:36px;font-size:26px}.rev-prev{left:10px}.rev-next{right:10px}
.rev-slide-dots{bottom:10px}
.rev-categories{padding:45px 0 52px;background:#fffcf7}
.rev-section-heading{margin-bottom:25px}
.rev-section-heading h2{font-size:clamp(29px,3vw,38px)}
.rev-cat{height:190px;border-radius:15px}
.rev-cat span{padding:11px 5px}
.rev-features{padding:23px 0}
.rev-products{padding:55px 0}.rev-products .product img{height:230px}
.rev-editorial{padding:58px 0}
@media(max-width:1000px){.rev-brand{flex-basis:235px;width:235px}.logo,.custom-logo{max-width:235px;height:76px}.rev-slide-layout{gap:25px;grid-template-columns:1fr 42%}.rev-slide-photo{height:340px}.rev-slider{height:430px}.rev-slide-copy h1{font-size:clamp(39px,5vw,53px)}}
@media(max-width:650px){.rev-header-inner{min-height:0}.rev-brand{flex-basis:auto;width:225px}.logo,.custom-logo{max-width:225px;height:74px}.rev-slider{height:auto;min-height:540px}.rev-slide-layout{height:auto;min-height:540px;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:35px 40px 48px}.rev-slide-copy{padding:0}.rev-slide-copy h1{font-size:clamp(34px,8vw,44px)}.rev-slide-copy p{font-size:14px;line-height:1.55}.rev-slide-photo{height:205px;width:100%;max-width:390px}.rev-photo-stamp{font-size:10px;padding:5px 9px}.rev-categories{padding:37px 0}.rev-cat{height:160px}.rev-products .product img{height:175px}}
