/*
Theme Name: Orivendo
Description: A lightweight, mobile-first Ghana storefront for WooCommerce.
Version: 1.1.0
Author: Orivendo
Requires PHP: 8.4
License: GPL-2.0-or-later
Text Domain: orivendo
*/
:root{--ink:#213b36;--muted:#64716b;--paper:#fffdf8;--cream:#f4f0e7;--line:#dce0d6;--accent:#bf5c35;--green:#264c41;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,.button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(36px,5.2vw,72px)}h2{font-size:clamp(28px,3.4vw,42px)}h3{font-size:22px}.wrap{width:min(1240px,calc(100% - 64px));margin:auto}.announcement{background:var(--green);color:#fff;padding:9px 20px;text-align:center;font-size:12px;letter-spacing:.04em}.announcement span{opacity:.75;margin:0 12px}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-main{min-height:98px;display:flex;align-items:center;gap:38px}.brand{font-size:32px;font-weight:750;letter-spacing:-1.8px;white-space:nowrap}.brand i{color:var(--accent);font-style:normal}.search{display:flex;align-items:center;background:var(--cream);border:1px solid transparent;border-radius:40px;overflow:hidden;flex:1;max-width:560px}.search:focus-within{border-color:var(--green)}.search input{border:0;background:transparent;min-width:0;width:100%;padding:13px 20px;outline:none}.search button{background:none;border:0;padding:12px 18px;color:var(--ink)}.header-tools{display:flex;gap:24px;align-items:center;margin-left:auto;font-size:14px}.cart-link{background:var(--cream);padding:10px 16px;border-radius:24px}.header-nav{display:flex;align-items:center;gap:32px;padding:15px 0;font-size:14px}.header-nav .nav-note{margin-left:auto;font-size:12px;color:var(--muted)}.menu-toggle{display:none}.skip-link{position:absolute;top:-100px;left:16px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:0}.hero{display:grid;grid-template-columns:1fr 1fr;margin-top:30px;background:var(--cream);border-radius:24px;overflow:hidden;min-height:500px}.hero-copy{padding:60px 40px 55px 52px;align-self:center}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:11px;font-weight:750;margin-bottom:22px;color:var(--accent)}.hero h1{margin-bottom:22px}.hero p{color:var(--muted);max-width:370px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;background:#dce4d6}.hero-art img{width:100%;height:100%;object-fit:cover}.hero-art .art-caption{position:absolute;bottom:22px;left:26px;font-size:10px;letter-spacing:.11em;text-transform:uppercase;background:#fffdf8df;padding:8px 14px;border-radius:20px}.cta,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;border:0;border-radius:7px;background:var(--green);color:#fff;padding:14px 24px;font-weight:650;font-size:14px;line-height:1.5}.cta:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#1a382f;color:#fff;text-decoration:none}.cta.secondary{background:transparent;border:1px solid var(--ink);color:var(--ink)}.hero .fineprint{font-size:11px;margin:18px 0 0}.benefits{display:grid;grid-template-columns:repeat(3,1fr);padding:29px 0;border-bottom:1px solid var(--line);gap:28px}.benefit{display:flex;gap:14px;align-items:center}.benefit .symbol{font-size:25px;background:var(--cream);border-radius:50%;height:48px;width:48px;display:grid;place-items:center}.benefit strong{display:block;font-size:14px}.benefit p{font-size:12px;color:var(--muted);margin:2px 0}.section{padding:58px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:26px}.section-heading h2{margin:0 0 6px}.section-heading p{font-size:13px;margin:0;color:var(--muted)}.text-link{font-size:13px;font-weight:650;white-space:nowrap}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.category{position:relative;min-height:230px;border-radius:var(--radius);overflow:hidden;background:#eceade;display:flex;align-items:center;padding:30px}.category:nth-child(2){background:#e0e7e0}.category:nth-child(3){background:#f2e0d3}.category h3{max-width:120px;margin:0 0 12px}.category span{font-size:12px}.category img{width:55%;position:absolute;right:-12px;bottom:-12px;transform:rotate(-7deg)}.category .category-copy{position:relative;z-index:1}.products-grid,.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}.product-card{min-width:0}.product-image{display:block;position:relative;aspect-ratio:1;background:#f0eee6;border-radius:var(--radius);overflow:hidden;margin-bottom:14px}.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .25s}.product-card:hover .product-image img{transform:scale(1.035)}.demo-badge{display:inline-block;background:#fffdf8e8;border:1px solid #dfdfd2;padding:5px 10px;border-radius:20px;font-size:10px;font-weight:650;letter-spacing:.05em}.product-image .demo-badge{position:absolute;top:13px;left:13px}.product-card .category-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 5px}.product-card h2{font-size:16px;line-height:1.35;letter-spacing:-.015em;margin:0 0 8px}.product-card .price{font-size:15px;font-weight:700}.demo-caption{font-size:11px;color:var(--muted);margin:4px 0 0}.cod-story{border-radius:22px;background:var(--green);color:#fff;display:grid;grid-template-columns:1fr 1fr;padding:52px;gap:60px}.cod-story p{color:#d4e1d8;font-size:14px}.steps{display:grid;gap:20px}.step{display:flex;gap:18px;align-items:start}.step b{font-size:14px;border:1px solid #7e9c8f;min-width:36px;height:36px;display:grid;place-items:center;border-radius:50%}.step h3{font-size:17px;letter-spacing:0;margin:0 0 5px}.step p{margin:0;font-size:13px}.site-footer{background:var(--cream);margin-top:50px;padding:50px 0 20px;font-size:13px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;padding-bottom:35px}.footer-grid p{max-width:300px;color:var(--muted);margin-top:16px}.footer-grid h3{font-size:14px;letter-spacing:0;margin:10px 0 20px}.footer-grid a:not(.brand){display:block;margin:10px 0}.footer-bottom{border-top:1px solid #d7d9cc;padding-top:20px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.content-area{padding-top:45px;min-height:45vh}.content-area h1.page-title{font-size:42px}.notice-panel,.woocommerce-info,.woocommerce-message,.woocommerce-error{background:#f1f3e9!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:10px;padding:18px 22px!important;margin:20px 0!important;list-style:none}.woocommerce-info:before,.woocommerce-message:before,.woocommerce-error:before{display:none!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:28px}.woocommerce .woocommerce-breadcrumb{font-size:12px;margin-bottom:28px}.woocommerce div.product{display:flow-root}.woocommerce div.product div.summary{padding:14px 0 0 35px}.woocommerce div.product .product_title{font-size:42px}.woocommerce div.product p.price{color:var(--ink);font-size:24px}.woocommerce-product-details__short-description{color:var(--muted)}.demo-product-visual{width:48%;float:left;border-radius:20px;background:var(--cream);margin-bottom:36px;overflow:hidden}.demo-product-visual img{width:100%;display:block}.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:35px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:var(--cream);border-radius:6px}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .select2-container .select2-selection--single{border:1px solid #cbd1c6;border-radius:6px;background:#fff;padding:12px;color:var(--ink);min-height:48px}.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{line-height:24px;padding:0}.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{top:12px}.woocommerce form .form-row label{font-size:13px;font-weight:600;margin-bottom:6px}.woocommerce form .form-row{padding:0;margin:0 0 18px}.woocommerce table.shop_table{border-color:var(--line);border-radius:10px;padding:12px;background:#fff}.woocommerce table.shop_table th{font-size:13px}.woocommerce .quantity .qty{width:75px}.woocommerce #payment{background:var(--cream);border-radius:12px}.woocommerce #payment div.payment_box{background:#e0e5d9;color:var(--ink)}.woocommerce #payment div.payment_box:before{border-bottom-color:#e0e5d9}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--green);color:#fff}.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#1a382f}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:48%}.woocommerce-checkout #customer_details .col-1{float:none;width:100%}.woocommerce-checkout #customer_details .col-2{float:none;width:100%;margin-top:25px}.woocommerce-checkout #customer_details{float:left;width:55%;padding-right:38px}.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{float:right;width:45%}.woocommerce-checkout #order_review_heading{font-size:26px}.woocommerce-checkout form.checkout{display:flow-root}.woocommerce-checkout .woocommerce-additional-fields h3{font-size:22px}.woocommerce-cart .cart-collaterals .cart_totals{width:45%}.woocommerce .product-thumbnail img{border-radius:8px;width:75px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce .woocommerce-MyAccount-navigation li{padding:10px;border-bottom:1px solid var(--line)}.woocommerce a.remove{color:var(--accent)!important}.woocommerce .related{clear:both;padding-top:35px}.woocommerce .related h2{font-size:28px}.woocommerce .related .product-card h2{font-size:16px}.page-copy{max-width:740px;margin-bottom:50px}.page-copy h2{font-size:26px;margin-top:35px}.preview-status{font-size:12px;color:var(--muted)}.pagination,.woocommerce nav.woocommerce-pagination{margin-top:30px}.woocommerce form.login,.woocommerce form.register{border-color:var(--line)}
@media(max-width:900px){.wrap{width:calc(100% - 40px)}.header-main{gap:20px}.header-tools{gap:15px}.hero{min-height:400px}.hero-copy{padding:35px 28px}.hero h1{font-size:46px}.categories{gap:12px}.category{padding:22px;min-height:190px}.category h3{font-size:20px;max-width:100px}.products-grid,.woocommerce ul.products{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.cod-story{padding:34px;gap:30px}.footer-grid{gap:28px}.header-nav .nav-note{display:none}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.announcement{font-size:10px;padding:8px 12px}.announcement span{margin:0 5px}.header-main{min-height:118px;display:grid;grid-template-columns:auto 1fr auto;gap:10px 12px;padding:14px 0}.brand{font-size:28px}.search{grid-column:1/-1;grid-row:2;max-width:none}.search input{padding:10px 16px}.search button{padding:9px 16px}.header-tools{grid-column:3;grid-row:1;font-size:12px;gap:14px}.header-tools .account-link{display:none}.cart-link{padding:7px 12px}.menu-toggle{display:block;background:none;border:0;padding:8px;font-size:18px;grid-column:2;grid-row:1;justify-self:end}.header-nav{display:none;padding:0 0 16px;gap:18px;font-size:13px;flex-wrap:wrap}.header-nav.is-open{display:flex}.hero{grid-template-columns:1fr;margin-top:18px;border-radius:16px;min-height:0}.hero-copy{padding:32px 26px}.hero h1{font-size:42px;margin-bottom:16px}.hero p{font-size:14px;max-width:310px}.eyebrow{margin-bottom:16px;font-size:10px}.hero-art{height:265px}.hero-art img{object-fit:cover}.hero-art .art-caption{bottom:14px;left:18px;font-size:9px}.hero .fineprint{font-size:10px;margin-top:12px}.cta{padding:12px 20px}.benefits{gap:16px;padding:24px 0;grid-template-columns:1fr}.benefit{gap:12px}.benefit .symbol{width:38px;height:38px;font-size:20px}.benefit strong{font-size:13px}.benefit p{font-size:11px}.section{padding:36px 0}.section-heading{align-items:start;gap:12px}.section-heading h2{font-size:28px}.section-heading p{font-size:11px}.text-link{font-size:11px;padding-top:6px}.categories{grid-template-columns:1fr;gap:12px}.category{min-height:145px;padding:26px}.category h3{max-width:none;font-size:24px}.category img{height:180px;width:45%;object-fit:contain;right:4px;bottom:-25px}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.product-image{border-radius:12px;margin-bottom:10px}.product-image .demo-badge{left:8px;top:8px;font-size:8px;padding:3px 7px}.product-card h2{font-size:14px}.product-card .price{font-size:13px}.product-card .category-label{font-size:8px}.demo-caption{font-size:9px}.cod-story{grid-template-columns:1fr;padding:30px 25px;gap:20px}.cod-story h2{font-size:30px}.footer-grid{grid-template-columns:1fr 1fr;gap:24px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block;font-size:10px}.footer-bottom p{margin:6px 0}.site-footer{margin-top:30px;padding-top:35px}.content-area{padding-top:26px}.content-area h1.page-title,.woocommerce div.product .product_title{font-size:32px}.woocommerce div.product div.summary,.demo-product-visual{width:100%!important;float:none!important;padding:0}.demo-product-visual{margin-bottom:22px}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{float:none;width:100%;padding-right:0}.woocommerce-checkout #order_review_heading{margin-top:30px}.woocommerce-cart .cart-collaterals .cart_totals{width:100%}.woocommerce .woocommerce-result-count{font-size:12px}.woocommerce .woocommerce-ordering{float:none;clear:both}.woocommerce .woocommerce-ordering select{width:100%}.woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}.woocommerce table.shop_table{padding:6px}.woocommerce div.product .woocommerce-tabs ul.tabs li{padding:0 10px}.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:12px}.woocommerce .product-thumbnail{display:none}.woocommerce .related .product-card h2{font-size:14px}}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}

.hero-product-art {
    align-self: stretch;
    background: #e6ebde;
    aspect-ratio: 1;
}
.hero-product-art img { display: block; object-fit: contain; }
.home-collection { padding-top: 0; }
.store-benefits .benefit {
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.shop-help {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    align-items: center;
    margin: 12px 0 0;
    font-size: 14px;
}
.shop-help a, .cart-help > a, .support-panel a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cod-instructions { margin: 0; padding-left: 1.4rem; }
.cod-instructions li + li { margin-top: 14px; }
.cod-instructions li p { margin-bottom: 0; }
.shopping-note {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #edf2e9;
    padding: 16px 20px;
    margin: 16px 0;
}
.shopping-note p { margin: 4px 0 0; }
.support-panel { max-width: 740px; }
.support-panel h2 { font-size: 22px; margin-bottom: 6px; }
.order-steps {
    display: flex;
    gap: 4px 18px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    color: var(--muted);
    font-size: 14px;
}
.order-steps li { padding: 8px 0; border-bottom: 2px solid transparent; }
.order-steps li[aria-current="step"] { color: var(--ink); font-weight: 700; border-color: var(--green); }
.order-steps a { text-decoration: underline; text-underline-offset: 4px; }
.cart-help { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.cart-help .shop-help { margin-top: 0; }
.cart_totals h2 { font-size: 26px; }
.woocommerce .wc-proceed-to-checkout .checkout-button { margin-bottom: 0; }
.woocommerce-checkout #payment #place_order { float: none; width: 100%; min-height: 48px; margin: 10px 0 0; }
.woocommerce-checkout #payment .cod-payment-note { margin: 12px 0 0; }
.delivery-estimate { display: block; color: var(--muted); line-height: 1.5; }
.header-tools a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { border-radius: 10px; }
.woocommerce div.product .woocommerce-tabs img { height: auto; }
.woocommerce .single_add_to_cart_button { min-height: 48px; }

@media (max-width: 767px) {
    .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail {
        display: flex;
        justify-content: center;
        padding: 10px;
    }
    .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail::before { content: none; }
    .woocommerce .product-thumbnail img { width: 88px; }
}
@media (max-width: 600px) {
    .hero-product-art { height: auto; }
    .hero-product-art img { object-fit: contain; }
    .store-benefits { gap: 8px; }
    .header-nav a { display: inline-flex; align-items: center; min-height: 44px; }
    .order-steps { gap: 4px 12px; font-size: 12px; }
    .shopping-note { padding: 14px 16px; }
    .woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: wrap; }
    .woocommerce-checkout .woocommerce-order-overview li {
        float: none;
        padding: 0 0 8px;
        margin: 0 0 8px;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
}

.orivendo-product-view .woocommerce-product-gallery__wrapper {
    margin: 0;
}
.orivendo-product-view.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
    display: block;
    max-height: 580px;
    object-fit: contain;
    background: var(--cream);
}
.orivendo-product-view.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 12px 0 0;
    padding: 3px 2px 10px;
    scroll-snap-type: x proximity;
}
.orivendo-product-view.woocommerce div.product div.images .flex-control-thumbs li {
    float: none;
    flex: 0 0 clamp(52px, 14vw, 72px);
    width: auto;
    scroll-snap-align: start;
}
.orivendo-product-view.woocommerce div.product div.images .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    opacity: .76;
}
.orivendo-product-view.woocommerce div.product div.images .flex-control-thumbs img:hover,
.orivendo-product-view.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
    border-color: var(--green);
    opacity: 1;
}
.orivendo-gallery-note {
    margin: .25rem 0 .75rem;
    color: var(--muted);
    font-size: .82rem;
}
.orivendo-product-availability {
    margin: .5rem 0 .75rem;
    color: var(--ink);
    font-size: .9rem;
}
.orivendo-product-availability p {
    margin: .15rem 0;
}
.orivendo-order-anchor { scroll-margin-top: 25px; }
.orivendo-product-view .single_add_to_cart_button {
    min-height: 48px;
    background: var(--green) !important;
    color: #fff !important;
}
.orivendo-product-view div.product form.cart:not(.variations_form) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}
.orivendo-product-view .quantity .qty { min-height: 48px; }
.orivendo-mobile-order { display: none; }

@media (max-width: 767px) {
    .orivendo-product-view .content-area { padding-top: 21px; }
    .orivendo-product-view.woocommerce div.product div.summary,
    .orivendo-product-view.woocommerce div.product div.images {
        float: none;
        width: 100%;
        padding: 0;
    }
    .orivendo-product-view.woocommerce div.product div.images { margin-bottom: 16px; }
    .orivendo-product-view.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) {
        max-height: 44vh;
        max-height: 44svh;
    }
    .orivendo-product-view.woocommerce div.product .summary .product_title { font-size: clamp(27px, 7vw, 36px); }
    .orivendo-has-mobile-order .site-footer {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
    .orivendo-mobile-order {
        position: fixed;
        inset: auto 0 0;
        z-index: 15;
        display: block;
        padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--line);
        background: var(--paper);
    }
    .orivendo-mobile-order .cta { width: 100%; text-align: center; }
}
