:root{
    --rvn-wine:#571f40;
    --rvn-wine-deep:#321426;
    --rvn-wine-soft:#7b3158;
    --rvn-gold:#bd9258;
    --rvn-paper:#fbf8f3;
    --rvn-ink:#30242b;
    --rvn-muted:#796a72;
    --rvn-line:#eadfe5;
    --rvn-radius:16px;
    --rvn-shadow:0 16px 45px rgba(50,20,38,.08)
}

/* Header builder and desktop navigation */
.whb-header{box-shadow:0 7px 28px rgba(45,20,35,.055)}
.whb-header .wd-nav,.whb-header .wd-tools-element,.whb-header .wd-dropdown,.mobile-nav,.mobile-nav .wd-nav-mobile{font-family:inherit!important}
.whb-header .whb-top-bar:has(.wd-header-text){display:none!important}
.whb-general-header,
.whb-general-header.whb-sticky-row,
.whb-sticked .whb-general-header{background:linear-gradient(115deg,#2c1022 0%,#45162f 52%,#612344 100%)!important;border-bottom:1px solid rgba(220,187,132,.36)!important;color:#fff!important}
.whb-general-header .whb-flex-row{min-height:82px}
.whb-header .wd-logo{display:flex!important;align-items:center!important;min-height:52px}
.whb-header .wd-logo img{display:block!important;max-height:58px;opacity:1!important;visibility:visible!important;filter:none!important}
.whb-general-header .wd-tools-element>a,
.whb-general-header .wd-tools-text,
.whb-general-header .wd-tools-icon,
.whb-general-header .wd-tools-icon:before,
.whb-general-header .wd-tools-count,
.whb-general-header .wd-header-mobile-nav>a{color:#fff!important;opacity:1!important;visibility:visible!important}
.whb-general-header .wd-tools-text{font-weight:700}
.whb-general-header .wd-tools-icon:before{font-size:20px}
.whb-general-header .wd-cart-number,
.whb-general-header .wd-tools-count{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--rvn-gold)!important;color:#2c1022!important;font-size:10px;font-weight:900;box-shadow:0 0 0 2px #45162f}
.whb-general-header .wd-cart-number>span{display:none!important}
.whb-general-header .wd-header-cart .wd-tools-inner{color:#fff!important}
.whb-header-bottom{background:linear-gradient(90deg,#351126 0%,#531b3b 55%,#42152f 100%)!important;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.whb-header-bottom .whb-flex-row{min-height:54px}
.whb-header-bottom .wd-nav>li>a{min-height:54px;padding-inline:16px;color:#fff!important;font-size:14px;font-weight:700;letter-spacing:0;transition:background-color .2s,color .2s}
.whb-header-bottom .wd-nav>li>a:hover,
.whb-header-bottom .wd-nav>li.current-menu-item>a,
.whb-header-bottom .wd-nav>li.current-menu-ancestor>a{background:rgba(255,255,255,.09);color:#f3d6a7!important}
.whb-header .wd-dropdown-menu{padding:11px;border:1px solid var(--rvn-line);border-radius:0 0 14px 14px;box-shadow:var(--rvn-shadow)}
.whb-header .wd-dropdown-menu .wd-sub-menu>li>a{padding:10px 13px;border-radius:8px;color:var(--rvn-ink);font-weight:600}
.whb-header .wd-dropdown-menu .wd-sub-menu>li>a:hover{background:#f8f1f5;color:var(--rvn-wine)}
.wd-header-my-account>a,.wd-header-cart>a,.wd-header-search>a{border-radius:10px;transition:background-color .2s,color .2s}
.wd-header-my-account>a:hover,.wd-header-cart>a:hover,.wd-header-search>a:hover{background:rgba(255,255,255,.09)!important;color:#f1d19d!important}

/* Woodmart account dropdown has different markup from regular submenus. */
.whb-header .wd-header-my-account .wd-dropdown,
.whb-header .wd-dropdown-my-account{width:270px!important;height:auto!important;min-height:0!important;max-height:min(72vh,520px)!important;padding:10px!important;border:1px solid #eadfe5!important;border-radius:0 0 15px 15px!important;background:#fff!important;color:#30242b!important;box-shadow:0 20px 48px rgba(45,20,35,.16)!important;overflow:auto!important;font-family:inherit!important;text-align:right!important}
.whb-header .wd-header-my-account .wd-dropdown ul,
.whb-header .wd-dropdown-my-account ul{display:block!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;list-style:none!important}
.whb-header .wd-header-my-account .wd-dropdown li,
.whb-header .wd-dropdown-my-account li{display:block!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border-bottom:1px solid #f0e8ed!important}
.whb-header .wd-header-my-account .wd-dropdown li:last-child,
.whb-header .wd-dropdown-my-account li:last-child{border-bottom:0!important}
.whb-header .wd-header-my-account .wd-dropdown a,
.whb-header .wd-dropdown-my-account a{display:flex!important;align-items:center!important;width:100%!important;min-height:43px!important;padding:9px 12px!important;border-radius:8px!important;background:transparent!important;color:#30242b!important;font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.7!important;opacity:1!important;text-align:right!important;white-space:normal!important}
.whb-header .wd-header-my-account .wd-dropdown a:hover,
.whb-header .wd-dropdown-my-account a:hover{background:#f8f1f5!important;color:#571f40!important}
.whb-header .wd-header-my-account .wd-dropdown p,
.whb-header .wd-header-my-account .wd-dropdown span,
.whb-header .wd-dropdown-my-account p,
.whb-header .wd-dropdown-my-account span{color:#65545d!important;font-family:inherit!important;opacity:1!important}
.whb-header .wd-dropdown-my-account .woocommerce-MyAccount-navigation{width:100%!important;margin:0!important;padding:0!important;background:transparent!important}

/* Woodmart mobile drawer */
.mobile-nav{width:min(89vw,380px)!important;background:#fff!important;box-shadow:-18px 0 60px rgba(35,16,29,.18)!important}
.mobile-nav.wd-left{right:0!important;left:auto!important;transform:translate3d(104%,0,0)!important}
.mobile-nav.wd-left.wd-opened{transform:none!important}
.mobile-nav .wd-search-form{padding:20px 18px 16px;background:linear-gradient(135deg,var(--rvn-wine-deep),var(--rvn-wine))}
.mobile-nav .searchform{border:0;border-radius:12px;background:#fff;overflow:hidden}
.mobile-nav .wd-nav-mobile{padding:10px 14px 120px}
.mobile-nav .wd-nav-mobile>li{border-bottom:1px solid #f0e8ed}
.mobile-nav .wd-nav-mobile li>a{min-height:50px;padding:10px 11px;color:var(--rvn-ink);font-size:14px;font-weight:700}
.mobile-nav .wd-nav-mobile>li.current-menu-item>a,
.mobile-nav .wd-nav-mobile>li.current-menu-ancestor>a{color:var(--rvn-wine);background:#f8f1f5;border-radius:9px}
.mobile-nav .wd-nav-opener{border:0!important;color:var(--rvn-wine)}
.mobile-nav .wd-sub-menu,.mobile-nav .sub-sub-menu{margin:0 11px 10px;padding:4px 10px;background:var(--rvn-paper);border-right:2px solid #d6b47e;border-radius:9px}
.mobile-nav .wd-sub-menu li>a,.mobile-nav .sub-sub-menu li>a{min-height:42px;font-size:13px;font-weight:600}
.wd-close-side.wd-close-side-opened{background:rgba(28,12,22,.58)!important;backdrop-filter:blur(3px)}

/* Category archives */
.archive.category .main-page-wrapper{background:#fcfaf7;padding-top:30px}
.archive.category .site-content{max-width:1180px;margin-inline:auto}
.archive.category .site-content>.archive-meta,.archive.category .wd-blog-element>.archive-meta{display:none}
.rvn-archive-head{position:relative;overflow:hidden;margin:0 0 30px;padding:34px 38px;border:1px solid #eadde4;border-radius:20px;background:linear-gradient(120deg,#fff 0%,#fbf5f8 68%,#f4e8d6 100%);box-shadow:0 12px 36px rgba(50,20,38,.05)}
.rvn-archive-head:after{content:"";position:absolute;left:-45px;bottom:-65px;width:180px;height:180px;border:32px solid rgba(189,146,88,.11);border-radius:50%;pointer-events:none}
.rvn-archive-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:19px;color:#947f89;font-size:12px}
.rvn-archive-breadcrumb a{color:var(--rvn-wine);font-weight:700}
.rvn-archive-kicker{margin:0 0 5px;color:var(--rvn-gold);font-size:12px;font-weight:800}
.rvn-archive-head h1{margin:0 0 11px;color:var(--rvn-wine-deep);font-size:clamp(29px,4vw,44px);line-height:1.45}
.rvn-archive-description{max-width:790px;color:#66545d;font-size:15px;line-height:2}
.rvn-archive-description p{margin:0}
.archive.category .wd-post.blog-post-loop{overflow:hidden;border:1px solid #eee3e9!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 28px rgba(50,20,38,.055)!important;transition:transform .22s,box-shadow .22s}
.archive.category .wd-post.blog-post-loop:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(50,20,38,.1)!important}
.archive.category .wd-post .post-img-wrapp{overflow:hidden;background:#eee7e1}
.archive.category .wd-post .post-img-wrapp img{aspect-ratio:16/10;object-fit:cover;transition:transform .35s}
.archive.category .wd-post:hover .post-img-wrapp img{transform:scale(1.035)}
.archive.category .wd-post .article-body-container{padding:21px 22px 24px}
.archive.category .wd-post .entry-title{font-size:18px;line-height:1.8}
.archive.category .wd-post .entry-title a{color:var(--rvn-wine-deep)}
.archive.category .wd-post .entry-meta{color:#9b8992;font-size:11px}
.archive.category .wd-post .entry-content{color:#71616a;line-height:1.95}
.archive.category .wd-post .read-more-section a{color:var(--rvn-wine);font-weight:800}

/* Custom single product card now owned by the plugin */
.single-product .main-page-wrapper{background:#fcfaf7;padding-top:34px}
.rivaan-product-wrapper{max-width:1120px;margin:0 auto 40px;color:var(--rvn-ink)}
.rivaan-product-card{display:grid;grid-template-columns:310px minmax(0,1fr);gap:42px;padding:34px;border:1px solid var(--rvn-line);border-radius:22px;background:#fff;box-shadow:var(--rvn-shadow)}
.rivaan-media-col{display:flex;flex-direction:column;gap:15px}
.rivaan-cover-wrapper{overflow:hidden;aspect-ratio:3/4;border:1px solid var(--rvn-line);border-radius:15px;background:#f4eee8;box-shadow:0 18px 38px rgba(50,20,38,.13)}
.rivaan-cover-wrapper img{width:100%;height:100%;object-fit:cover}
.rivaan-no-image{display:grid;place-items:center;width:100%;height:100%;color:var(--rvn-wine);font-size:25px;font-weight:800}
.rivaan-btn-preview{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px;border:1px dashed var(--rvn-gold);border-radius:11px;background:#fffaf2;color:#976a31!important;font-size:13px;font-weight:800}
.rivaan-header{padding-bottom:19px;margin-bottom:19px;border-bottom:1px solid var(--rvn-line)}
.rivaan-category,.rivaan-category a{color:var(--rvn-gold)!important;font-size:13px;font-weight:800}
.rivaan-title{margin:5px 0 9px;color:var(--rvn-wine-deep);font-size:clamp(26px,3vw,38px);line-height:1.5}
.rivaan-meta{display:flex;flex-wrap:wrap;gap:9px 24px;color:var(--rvn-muted);font-size:13px}
.rivaan-meta strong{color:var(--rvn-ink)}
.rivaan-specs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.rivaan-spec-item{display:grid;gap:3px;padding:12px 8px;border:1px solid #efe4ea;border-radius:12px;background:#fbf6f9;text-align:center}
.rivaan-spec-item .icon{display:grid;place-items:center;width:31px;height:31px;margin:auto;border-radius:50%;background:#efe1e9;color:var(--rvn-wine);font-size:11px;font-weight:900}
.rivaan-spec-item .label{color:#8b7882;font-size:10px}
.rivaan-spec-item .value{color:var(--rvn-wine);font-size:12px;font-weight:800}
.rivaan-purchase-box{padding:18px;border:1px solid #e8d9e2;border-radius:15px;background:linear-gradient(135deg,#fcf8fa,#f8f0f5)}
.rivaan-format-single{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;padding-bottom:13px;border-bottom:1px dashed #deccd6}
.rivaan-format-single .title{color:var(--rvn-wine);font-weight:800}
.rivaan-format-single .sub{color:var(--rvn-muted);font-size:12px}
.rivaan-price-container{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px;color:#6d5d66;font-size:13px;font-weight:700}
.rivaan-price-value .price,.rivaan-price-value ins{color:var(--rvn-wine)!important;font-size:20px!important;font-weight:900;text-decoration:none}
.rivaan-price-value del{color:#9a8b92!important;font-size:13px!important}
.rivaan-woo-cart-btn form.cart{display:block!important;margin:0!important}
.rivaan-woo-cart-btn .quantity{display:none!important}
.rivaan-woo-cart-btn .single_add_to_cart_button{width:100%!important;min-height:52px!important;border-radius:11px!important;background:linear-gradient(135deg,var(--rvn-wine),var(--rvn-wine-deep))!important;color:#fff!important;font-size:15px!important;font-weight:900!important;box-shadow:0 10px 22px rgba(87,31,64,.2)!important}
.rivaan-trust-features{display:flex;justify-content:space-between;gap:10px;padding-top:16px;color:#71616a;font-size:11px}
.rivaan-trust-features span:before{content:"✓";margin-left:5px;color:#3c9a60;font-weight:900}
.rivaan-content-sections{display:grid;gap:20px;margin-top:22px}
.rivaan-short-desc-card,.rivaan-full-desc-card{padding:29px 32px;border:1px solid var(--rvn-line);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(50,20,38,.04);color:#554850;line-height:2.05}
.rivaan-section-title{display:inline-block;margin:0 0 17px;padding-bottom:8px;border-bottom:3px solid #e0c28f;color:var(--rvn-wine);font-size:21px}
.rivaan-quote-box{margin:0;padding:22px 25px;border:0;border-right:4px solid var(--rvn-gold);border-radius:12px;background:#fff8ec;color:#674d2f;font-size:15px;line-height:2}
.single-product .related-products{margin-top:42px!important;padding:28px!important;border:1px solid var(--rvn-line);border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(50,20,38,.04)}
.single-product .related-products .wd-el-title{color:var(--rvn-wine)!important;font-size:23px!important}

/* Serial story reader */
.rvn-serial-story .main-page-wrapper{background:#fbfaf8;padding-top:26px}
.rvn-serial-story .site-content{max-width:940px;margin-inline:auto}
.rvn-serial-story .elementor-widget-theme-post-title h1{margin-bottom:10px;color:var(--rvn-wine-deep);font-size:clamp(28px,4vw,43px);line-height:1.65}
.rvn-serial-story .elementor-widget-theme-post-content{color:#40363b;font-size:18px;line-height:2.25}
.rvn-serial-story .elementor-widget-theme-post-content p{margin-bottom:1.45em}
.reader-controls{position:sticky;top:10px;z-index:20;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;width:min(100%,760px);margin:18px auto 32px;padding:10px;border:1px solid #e8dce3;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(50,20,38,.09);backdrop-filter:blur(12px)}
.reader-controls .meta-item,.reader-controls .control-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:7px 13px;border:0;border-radius:999px;background:#f7f1f4;color:#65545d;font-family:inherit;font-size:12px;font-weight:700}
.reader-controls .control-btn{background:var(--rvn-wine);color:#fff;cursor:pointer;transition:transform .2s,background-color .2s}
.reader-controls .control-btn:hover{transform:translateY(-1px);background:var(--rvn-wine-deep)}
.reader-controls .control-btn[aria-pressed="true"]{background:var(--rvn-gold);color:#281620}
.bottom-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:38px 0;padding:10px 16px;border:1px solid var(--rvn-line);border-radius:999px;background:#fff;box-shadow:0 12px 35px rgba(50,20,38,.07)}
.bottom-nav .nav-btn{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border-radius:999px;color:var(--rvn-wine);font-size:13px;font-weight:800}
.bottom-nav .list-trigger{background:#f6eef3;color:var(--rvn-wine-deep)}
.bottom-nav .disabled{opacity:.38;pointer-events:none}
.rvn-chapters{margin:35px 0;padding:28px;border:1px solid var(--rvn-line);border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(50,20,38,.045)}
.chapters-title{margin-bottom:18px;color:var(--rvn-wine);font-size:18px;font-weight:900}
.chapters-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.chapter-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;padding:10px 14px;border:1px solid transparent;border-radius:10px;background:#f8f6f7;color:var(--rvn-ink);font-size:13px;font-weight:700;transition:background-color .18s,border-color .18s,transform .18s}
.chapter-item:hover{transform:translateY(-1px);border-color:#dfcbd6;background:#fff;color:var(--rvn-wine)}
.chapter-item.active{border-color:#d4ad70;background:#fff8ec;color:var(--rvn-wine)}
.chapter-item em{font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}
.badge-vip{color:#a16c2d}.badge-free{color:#379059}.badge-current{color:var(--rvn-wine)}
.rvn-public-preview{margin:15px 0 28px;padding:25px 28px;border:1px solid #eadce3;border-radius:18px;background:linear-gradient(135deg,#fff,#fbf5f8);box-shadow:0 8px 28px rgba(50,20,38,.045)}
.rvn-preview-kicker{margin:0!important;color:var(--rvn-gold);font-size:12px;font-weight:900}
.rvn-public-preview h2{margin:4px 0 13px;color:var(--rvn-wine);font-size:23px}
.rvn-preview-content{color:#554850;font-size:15px;line-height:2.1}
.rvn-preview-note{margin:16px 0 0!important;padding:10px 13px;border-radius:9px;background:#f6edf2;color:var(--rvn-wine);font-size:12px;font-weight:800}

/* Night and enlarged reading modes */
body.rvn-dark-mode.rvn-serial-story,
body.rvn-dark-mode.rvn-serial-story .website-wrapper,
body.rvn-dark-mode.rvn-serial-story .main-page-wrapper,
body.rvn-dark-mode.rvn-serial-story .wd-page-content,
body.rvn-dark-mode.rvn-serial-story .elementor,
body.rvn-dark-mode.rvn-serial-story .e-con{background:#151216!important;color:#e9e2e6!important}
body.rvn-dark-mode.rvn-serial-story .elementor-widget-theme-post-title h1,
body.rvn-dark-mode.rvn-serial-story .elementor-widget-theme-post-content,
body.rvn-dark-mode.rvn-serial-story .elementor-widget-theme-post-content p{color:#ebe5e8!important}
body.rvn-dark-mode .reader-controls{border-color:#4a3d45;background:rgba(35,29,33,.94)}
body.rvn-dark-mode .reader-controls .meta-item{background:#30272d;color:#d4c9cf}
body.rvn-dark-mode .bottom-nav,body.rvn-dark-mode .rvn-chapters{border-color:#40343b;background:#211b1f}
body.rvn-dark-mode .bottom-nav .nav-btn,body.rvn-dark-mode .chapters-title{color:#e0bd85}
body.rvn-dark-mode .chapter-item{background:#2b2428;color:#e5dce1}
body.rvn-dark-mode .chapter-item.active{border-color:#9b7641;background:#33281e}
body.rvn-dark-mode .rvn-public-preview{border-color:#4a3b43;background:#211b1f}
body.rvn-dark-mode .rvn-public-preview h2,body.rvn-dark-mode .rvn-preview-note{color:#e0bd85}
body.rvn-dark-mode .rvn-preview-content{color:#ddd3d8}
body.rvn-dark-mode .rvn-preview-note{background:#30262c}
body.rvn-large-font.rvn-serial-story .elementor-widget-theme-post-content{font-size:clamp(20px,2.2vw,23px)!important;line-height:2.35!important}

@media(max-width:1024px){
    .whb-general-header .whb-flex-row{min-height:66px!important}
    .whb-general-header .container{padding-inline:14px}
    .whb-header .wd-logo{min-height:44px}
    .whb-header .wd-logo img{width:auto!important;max-width:175px!important;max-height:44px!important}
    .whb-general-header .wd-header-mobile-nav>a{display:flex!important;align-items:center;gap:7px;min-width:44px;min-height:44px;padding:7px;border-radius:10px}
    .whb-general-header .wd-header-mobile-nav .wd-tools-text{display:none!important}
    .whb-general-header .wd-header-cart>a{min-width:44px;min-height:44px;padding:7px;border-radius:10px}
    .whb-general-header .wd-header-cart .wd-tools-text{display:none!important}
    .archive.category .site-content{padding-inline:15px}
    .rivaan-product-card{grid-template-columns:270px minmax(0,1fr);gap:28px;padding:26px}
    .rivaan-specs-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:767px){
    .rvn-archive-head{padding:25px 21px;border-radius:16px}
    .rvn-archive-head h1{font-size:30px}
    .archive.category .wd-post.blog-post-loop{margin-bottom:18px}
    .archive.category .wd-post .article-body-container{padding:18px}
    .rivaan-product-wrapper{padding-inline:14px}
    .rivaan-product-card{grid-template-columns:1fr;gap:25px;padding:18px;border-radius:17px}
    .rivaan-media-col{width:min(100%,330px);margin:auto}
    .rivaan-title{font-size:27px}
    .rivaan-meta{display:grid;gap:5px}
    .rivaan-format-single{align-items:flex-start;flex-direction:column}
    .rivaan-trust-features{display:grid;grid-template-columns:1fr 1fr;text-align:right}
    .rivaan-short-desc-card,.rivaan-full-desc-card{padding:22px 20px}
    .single-product .related-products{margin-inline:14px!important;padding:19px 14px!important}
    .rvn-serial-story .site-content{padding-inline:14px}
    .reader-controls{position:relative;top:auto;border-radius:16px;padding:9px}
    .reader-controls .meta-item{display:none}
    .reader-controls .control-btn{flex:1;min-width:130px}
    .bottom-nav{position:sticky;bottom:72px;z-index:18;grid-template-columns:1fr 1.35fr 1fr;padding:7px;border-radius:15px}
    .bottom-nav .nav-btn{min-height:39px;padding:6px 5px;font-size:11px}
    .rvn-chapters{padding:18px 14px;border-radius:16px}
    .chapters-grid{grid-template-columns:1fr}
    .chapter-item{font-size:12px}
    .rvn-public-preview{padding:21px 18px}
}

@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto!important}
    *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* =========================================================
   Single-story reading layout
   ========================================================= */

/* Repair Elementor's stretched serial-story template */
.rvn-serial-story #main-content{width:min(100%,1030px)!important;max-width:1030px!important;margin-inline:auto!important;padding:18px 15px 48px!important}
.rvn-serial-story .elementor-location-single{width:100%!important;max-width:920px!important;margin-inline:auto!important}
.rvn-serial-story .elementor-location-single>.e-con{width:100%!important;max-width:100%!important;margin:0 0 18px!important;padding:clamp(22px,4vw,42px)!important;border:1px solid #eadfe5!important;border-radius:20px!important;background:#fff!important;box-shadow:0 14px 42px rgba(50,20,38,.065)!important}
.rvn-serial-story .elementor-location-single>.e-con .e-con,
.rvn-serial-story .elementor-location-single .wd-negative-gap{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.rvn-serial-story .elementor-location-single .elementor-widget{width:100%!important;max-width:100%!important;margin:0!important;box-shadow:none!important}
.rvn-serial-story .elementor-location-single .elementor-widget-shortcode:first-child{margin-bottom:21px!important}
.rvn-serial-story .elementor-location-single .elementor-widget-theme-post-title{text-align:center}
.rvn-serial-story .elementor-location-single .elementor-widget-theme-post-title:before{content:"داستان دنباله‌دار ریوان";display:inline-flex;align-items:center;min-height:30px;margin:0 auto 10px;padding:4px 13px;border-radius:999px;background:#f7edf2;color:#7b3158;font-size:11px;font-weight:900;letter-spacing:0}
.rvn-serial-story .elementor-widget-theme-post-title h1{width:100%!important;max-width:780px;margin:0 auto!important;color:var(--rvn-wine-deep);font-size:clamp(27px,3.5vw,39px)!important;line-height:1.75!important;text-align:center}
.rvn-serial-story .elementor-widget-divider{margin:16px 0 8px!important}
.rvn-serial-story .elementor-widget-divider .elementor-divider{width:72px;margin:auto;padding:0!important}
.rvn-serial-story .elementor-widget-divider .elementor-divider-separator{border-color:var(--rvn-gold)!important;border-width:2px!important}
.rvn-serial-story .elementor-widget-theme-post-content{width:100%!important;max-width:760px!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#40363b;font-size:18px!important;line-height:2.35!important;text-align:right}
.rvn-serial-story .elementor-widget-theme-post-content p{margin:0 0 1.35em!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important}
.rvn-serial-story .reader-controls{position:relative;top:auto;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:min(100%,700px);margin:17px auto 30px!important;padding:10px 12px!important;border:1px solid #e6d9e0!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 24px rgba(50,20,38,.055)!important}
.rvn-serial-story .reader-controls__meta,.rvn-serial-story .reader-controls__actions{display:flex;align-items:center;gap:8px}
.rvn-serial-story .reader-controls .meta-item,.rvn-serial-story .reader-controls .control-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:42px!important;margin:0!important;padding:8px 13px!important;border:0!important;border-radius:10px!important;font-family:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1.4!important;opacity:1!important;visibility:visible!important}
.rvn-serial-story .reader-controls .meta-item{background:#f8f3f6!important;color:#65545d!important}
.rvn-serial-story .reader-controls .control-btn{background:#571f40!important;color:#fff!important;cursor:pointer!important;box-shadow:none!important}
.rvn-serial-story .reader-controls .control-btn span,.rvn-serial-story .reader-controls .control-btn b{display:inline!important;color:inherit!important;font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;opacity:1!important;visibility:visible!important}
.rvn-serial-story .reader-controls .control-btn:hover{background:#321426!important;color:#fff!important}
.rvn-serial-story .reader-controls .control-btn[aria-pressed="true"]{background:#d0a364!important;color:#291821!important}
.rvn-serial-story .wd-breadcrumbs,.rvn-serial-story .rank-math-breadcrumb,.rvn-serial-story .woocommerce-breadcrumb{margin:0!important;color:#96848d;font-size:12px;line-height:1.8}
.rvn-serial-story .rvn-public-preview{max-width:760px;margin:0 auto 26px;padding:25px 27px;border-radius:15px;box-shadow:none}
.rvn-serial-story .bottom-nav{position:relative;bottom:auto;max-width:760px;margin:0 auto 28px}
.rvn-serial-story .rvn-chapters{max-width:820px;margin:0 auto;padding:25px;box-shadow:none}
.rvn-serial-story .comment-respond{max-width:760px;margin-inline:auto}
.rvn-serial-story .comment-respond textarea,.rvn-serial-story .comment-respond input{border:1px solid #dfd3da;border-radius:10px;background:#fcfafb}

/* Shop title and toolbar */
.woocommerce-shop .main-page-wrapper{padding-top:28px;background:#fcfaf7}
.woocommerce-shop #main-content{padding-top:12px}
.rvn-shop-head{position:relative;overflow:hidden;margin:0 0 25px;padding:32px 35px;border:1px solid #eadde4;border-radius:20px;background:linear-gradient(120deg,#fff 0%,#fbf5f8 68%,#f5ead9 100%);box-shadow:0 12px 36px rgba(50,20,38,.05)}
.rvn-shop-head:after{content:"";position:absolute;left:-38px;bottom:-72px;width:190px;height:190px;border:34px solid rgba(189,146,88,.1);border-radius:50%;pointer-events:none}
.rvn-shop-head p{margin:0 0 4px;color:var(--rvn-gold);font-size:12px;font-weight:900}
.rvn-shop-head h1{margin:0 0 9px;color:var(--rvn-wine-deep);font-size:clamp(30px,4vw,44px);line-height:1.5}
.rvn-shop-head div{max-width:720px;color:#6b5a63;line-height:2}
.woocommerce-shop .shop-loop-head{margin-bottom:24px;padding:13px 18px;border:1px solid var(--rvn-line);border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(50,20,38,.035)}
.woocommerce-shop .wd-products-per-page a,.woocommerce-shop .woocommerce-ordering select{color:var(--rvn-wine);font-weight:700}

/* Shared cards: shop and related products */
.woocommerce-shop .wd-products,.single-product .related-products .wd-products{gap:24px 18px}
.woocommerce-shop .wd-product,.single-product .related-products .wd-product{padding:0!important;border:0!important;border-radius:16px!important;background:transparent!important;box-shadow:none!important;transform:none}
.woocommerce-shop .wd-product-wrapper,.single-product .related-products .wd-product-wrapper{overflow:hidden;height:100%;padding:0 0 18px!important;border:1px solid #e9dee4!important;border-radius:16px!important;background:#fff!important;box-shadow:0 9px 30px rgba(50,20,38,.055)!important;transition:transform .22s,box-shadow .22s,border-color .22s}
.woocommerce-shop .wd-product-card-bg,.single-product .related-products .wd-product-card-bg,
.woocommerce-shop .wd-product-card-hover,.single-product .related-products .wd-product-card-hover{border:0!important;background:transparent!important;box-shadow:none!important}
.woocommerce-shop .wd-product:hover .wd-product-wrapper,.single-product .related-products .wd-product:hover .wd-product-wrapper{transform:translateY(-5px);border-color:#d9bdca!important;box-shadow:0 18px 40px rgba(50,20,38,.105)!important}
.woocommerce-shop .wd-product-thumb,.single-product .related-products .wd-product-thumb{overflow:hidden;margin:0 0 17px!important;background:#f2ebe6}
.woocommerce-shop .wd-product-thumb img,.single-product .related-products .wd-product-thumb img{width:100%!important;aspect-ratio:1/1;object-fit:cover;transition:transform .35s}
.woocommerce-shop .wd-product:hover .wd-product-thumb img,.single-product .related-products .wd-product:hover .wd-product-thumb img{transform:scale(1.035)}
.woocommerce-shop .product-element-bottom,.single-product .related-products .product-element-bottom{padding-inline:17px!important;text-align:right!important}
.woocommerce-shop .wd-entities-title,.single-product .related-products .wd-entities-title{min-height:54px;margin:0 0 7px!important;font-size:15px!important;line-height:1.8!important;text-align:right!important}
.woocommerce-shop .wd-entities-title a,.single-product .related-products .wd-entities-title a{color:var(--rvn-wine-deep)!important;font-weight:800!important}
.woocommerce-shop .price,.single-product .related-products .price{display:flex;align-items:center;gap:7px;min-height:34px;color:var(--rvn-wine)!important;font-size:15px!important;font-weight:900!important}
.woocommerce-shop .price ins,.single-product .related-products .price ins{color:var(--rvn-wine)!important;text-decoration:none!important}
.woocommerce-shop .price del,.single-product .related-products .price del{color:#a4939c!important;font-size:11px!important;font-weight:500!important}
.woocommerce-shop .wd-add-btn,.single-product .related-products .wd-add-btn{margin-top:12px!important}
.woocommerce-shop .wd-add-btn>a,.single-product .related-products .wd-add-btn>a{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:43px!important;padding:8px 12px!important;border:1px solid var(--rvn-wine)!important;border-radius:9px!important;background:#fff!important;color:var(--rvn-wine)!important;font-size:12px!important;font-weight:900!important;box-shadow:none!important}
.woocommerce-shop .wd-add-btn>a:hover,.single-product .related-products .wd-add-btn>a:hover{background:var(--rvn-wine)!important;color:#fff!important}
.woocommerce-shop .product-label.onsale,.single-product .related-products .product-label.onsale{display:grid;place-items:center;width:48px!important;height:48px!important;border-radius:50%!important;background:var(--rvn-wine)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;box-shadow:0 6px 18px rgba(50,20,38,.2)}
.woocommerce-shop .wd-buttons,.single-product .related-products .wd-buttons{overflow:hidden;border:1px solid #eadfe5;border-radius:10px;background:#fff!important;box-shadow:0 8px 25px rgba(50,20,38,.09)}
.single-product .related-products{margin-top:35px!important;padding:26px!important;border-color:#e9dee4!important;background:#fff!important}
.single-product .related-products .wd-el-title,.single-product .related-products .wd-el-title span{color:var(--rvn-wine-deep)!important;font-size:22px!important;font-weight:900!important}
.woocommerce-shop .wd-pagination{margin-top:32px}
.woocommerce-shop .wd-pagination .page-numbers{border-radius:9px;color:var(--rvn-wine);font-weight:800}
.woocommerce-shop .wd-pagination .page-numbers.current{background:var(--rvn-wine)!important;color:#fff!important}

@media(max-width:767px){
    .rvn-serial-story #main-content{padding:10px 10px 35px!important}
    .rvn-serial-story .elementor-location-single>.e-con{margin-bottom:12px!important;padding:21px 16px!important;border-radius:15px!important;box-shadow:0 7px 22px rgba(50,20,38,.05)!important}
    .rvn-serial-story .elementor-widget-theme-post-title h1{font-size:25px!important;line-height:1.75!important}
    .rvn-serial-story .elementor-widget-theme-post-content{font-size:17px!important;line-height:2.25!important}
    .rvn-serial-story .reader-controls{display:grid!important;grid-template-columns:1fr;margin:13px auto 23px!important;padding:9px!important}
    .rvn-serial-story .reader-controls__meta,.rvn-serial-story .reader-controls__actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
    .rvn-serial-story .reader-controls .meta-item{display:flex!important;min-width:0!important;padding-inline:7px!important;font-size:11px!important}
    .rvn-serial-story .reader-controls .control-btn{min-width:0!important;width:100%!important;padding-inline:7px!important}
    .rvn-serial-story .rvn-public-preview{padding:20px 16px}
    .rvn-serial-story .bottom-nav{position:relative;bottom:auto;margin-bottom:20px}
    .rvn-serial-story .rvn-chapters{padding:17px 12px}
    .rvn-shop-head{margin-inline:4px;padding:24px 20px;border-radius:16px}
    .rvn-shop-head h1{font-size:29px}
    .woocommerce-shop .shop-loop-head{padding:10px 12px}
    .woocommerce-shop .wd-products,.single-product .related-products .wd-products{gap:14px 10px}
    .woocommerce-shop .wd-product-wrapper,.single-product .related-products .wd-product-wrapper{padding-bottom:13px!important;border-radius:13px!important}
    .woocommerce-shop .product-element-bottom,.single-product .related-products .product-element-bottom{padding-inline:11px!important}
    .woocommerce-shop .wd-entities-title,.single-product .related-products .wd-entities-title{min-height:49px;font-size:13px!important;line-height:1.75!important}
    .woocommerce-shop .price,.single-product .related-products .price{display:block;font-size:13px!important}
    .woocommerce-shop .wd-add-btn>a,.single-product .related-products .wd-add-btn>a{min-height:39px!important;padding:7px!important;font-size:10px!important}
    .woocommerce-shop .product-label.onsale,.single-product .related-products .product-label.onsale{width:40px!important;height:40px!important;font-size:9px!important}
    .single-product .related-products{margin-inline:10px!important;padding:18px 10px!important}
}

/* v1.6.1 — homepage serial collections and their landing pages */
.rvn-home .rvn-serial-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rvn-home .rvn-serial-grid>a{position:relative;min-height:230px;padding:23px;border-color:rgba(255,255,255,.15);background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}
.rvn-home .rvn-serial-grid>a:after{content:"";position:absolute;left:18px;top:18px;width:28px;height:28px;border:1px solid rgba(217,189,140,.42);border-radius:50%}
.rvn-home .rvn-serial-grid h3{margin:18px 0 7px;font-size:21px;line-height:1.65}
.rvn-home .rvn-serial-grid p{margin:0 0 auto;color:#cdbfc6;font-size:12px;line-height:1.95}
.rvn-home .rvn-serial-grid span{margin-top:18px;color:#e1c28e;font-weight:800}

.rvn-serial-hub .main-page-wrapper{padding-top:30px;background:#fbfaf7}
.rvn-serial-hub #main-content{width:min(1180px,calc(100% - 30px));max-width:1180px;margin-inline:auto;padding:0 0 60px}
.rvn-serial-hub .site-content,.rvn-serial-hub article.entry-content{width:100%;max-width:none;padding:0;background:transparent}
.rvn-serial-hub-head{position:relative;overflow:hidden;margin:0 0 25px;padding:clamp(28px,5vw,58px);border:1px solid #eadde4;border-radius:24px;background:linear-gradient(120deg,#fff 0%,#fbf4f8 63%,#f4e7d3 100%);box-shadow:0 15px 45px rgba(50,20,38,.065)}
.rvn-serial-hub-head:before{content:"";position:absolute;left:-60px;bottom:-95px;width:260px;height:260px;border:43px solid rgba(189,146,88,.11);border-radius:50%}
.rvn-serial-hub-head nav{position:relative;display:flex;align-items:center;gap:9px;margin-bottom:28px;color:#95828c;font-size:12px}
.rvn-serial-hub-head nav a{color:#571f40;font-weight:800}
.rvn-serial-hub-head>p{position:relative;margin:0 0 4px;color:#a9783b;font-size:12px;font-weight:900}
.rvn-serial-hub-head h1{position:relative;margin:0 0 13px;color:#321426;font-size:clamp(32px,5vw,53px);line-height:1.5}
.rvn-serial-hub-head>div{position:relative;max-width:760px;color:#66565e;font-size:15px;line-height:2.15}
.rvn-serial-hub-head>a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:45px;margin-top:22px;padding:8px 18px;border-radius:10px;background:#571f40;color:#fff!important;font-size:12px;font-weight:900}
.rvn-hub-list-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 18px;padding:8px 4px}
.rvn-hub-list-title span{color:#a9783b;font-size:12px;font-weight:900}
.rvn-hub-list-title h2{margin:0;color:#321426;font-size:clamp(23px,3vw,32px);line-height:1.6}
.rvn-serial-hub .elementor>.e-con{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
.rvn-serial-hub .elementor>.e-con>.e-con-inner{width:100%!important;max-width:none!important;padding:0!important}
.rvn-serial-hub .elementor-widget-posts{width:100%!important}
.rvn-serial-hub .elementor-widget-posts .elementor-posts-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.rvn-serial-hub .elementor-widget-posts article.elementor-post{width:100%!important;margin:0!important;padding:0!important}
.rvn-serial-hub .elementor-post__card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;min-height:84px!important;margin:0!important;padding:14px 17px!important;border:1px solid #eadfe5!important;border-right:3px solid #bd9258!important;border-radius:13px!important;background:#fff!important;box-shadow:0 7px 24px rgba(50,20,38,.04)!important;transition:transform .2s,border-color .2s,box-shadow .2s}
.rvn-serial-hub .elementor-post__card:hover{transform:translateY(-2px);border-color:#dac5d0!important;border-right-color:#571f40!important;box-shadow:0 13px 30px rgba(50,20,38,.09)!important}
.rvn-serial-hub .elementor-post__text{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;width:100%!important;margin:0!important;padding:0!important}
.rvn-serial-hub .elementor-post__title{margin:0!important;font-size:14px!important;line-height:1.9!important}
.rvn-serial-hub .elementor-post__title a{color:#30242b!important;font-weight:800!important}
.rvn-serial-hub .elementor-post__read-more{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto;min-height:38px!important;margin:0!important;padding:6px 12px!important;border-radius:8px!important;background:#f7eef3!important;color:#571f40!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important}
.rvn-serial-hub .elementor-post__card:hover .elementor-post__read-more{background:#571f40!important;color:#fff!important}

@media(max-width:980px){.rvn-home .rvn-serial-grid{grid-template-columns:repeat(2,minmax(250px,1fr));display:grid;overflow:visible}.rvn-serial-hub .elementor-widget-posts .elementor-posts-container{grid-template-columns:1fr!important}}
@media(max-width:600px){.rvn-home .rvn-serial-grid{display:flex;gap:11px;overflow:auto;scroll-snap-type:x mandatory}.rvn-home .rvn-serial-grid>a{min-width:78vw;min-height:210px;scroll-snap-align:start}.rvn-serial-hub .main-page-wrapper{padding-top:14px}.rvn-serial-hub #main-content{width:min(100% - 20px,1180px);padding-bottom:35px}.rvn-serial-hub-head{padding:24px 19px;border-radius:17px}.rvn-serial-hub-head nav{margin-bottom:20px}.rvn-serial-hub-head h1{font-size:31px}.rvn-serial-hub-head>div{font-size:13px}.rvn-hub-list-title{display:block;margin-bottom:12px}.rvn-hub-list-title h2{margin-top:3px;font-size:23px}.rvn-serial-hub .elementor-post__card{min-height:76px!important;padding:11px 12px!important}.rvn-serial-hub .elementor-post__title{font-size:12px!important}.rvn-serial-hub .elementor-post__read-more{min-height:35px!important;padding-inline:9px!important;font-size:10px!important}}
