/*
Theme Name: Rubicon Numismatic Child
Theme URI: https://rubicon-numismatic.com/
Description: Premium WooCommerce child theme for Rubicon Numismatic, based on Kadence.
Author: OpenAI
Template: kadence
Version: 1.0.0
Text Domain: rubicon-numismatic
*/

:root{
  --rn-bg:#171714;
  --rn-bg-soft:#1f1e1a;
  --rn-gold:#b89a5a;
  --rn-gold-light:#d2bc82;
  --rn-paper:#f6f3ec;
  --rn-text:#211f1a;
  --rn-muted:#746f66;
  --rn-white:#fff;
  --rn-line:rgba(184,154,90,.22);
}

body{
  background:var(--rn-paper);
  color:var(--rn-text);
}

.site-main{
  margin:0;
}

.rn-home{
  overflow:hidden;
}

.rn-container{
  width:min(1400px, calc(100% - 48px));
  margin:0 auto;
}

.rn-hero{
  min-height:680px;
  background:
    radial-gradient(circle at 78% 48%, rgba(184,154,90,.18), transparent 19%),
    radial-gradient(circle at 82% 48%, rgba(255,255,255,.04), transparent 34%),
    linear-gradient(135deg, #171714 0%, #1c1b17 100%);
  color:var(--rn-white);
  position:relative;
  display:flex;
  align-items:center;
}

.rn-hero:before,
.rn-hero:after{
  content:"";
  position:absolute;
  border-radius:50%;
  right:8%;
  top:50%;
  transform:translateY(-50%);
  border:1px solid rgba(184,154,90,.35);
  box-shadow:inset 0 0 60px rgba(184,154,90,.08), 0 0 80px rgba(0,0,0,.3);
}

.rn-hero:before{
  width:360px;
  height:360px;
}

.rn-hero:after{
  width:250px;
  height:250px;
  right:11.2%;
  border-color:rgba(210,188,130,.26);
}

.rn-hero__content{
  max-width:760px;
  padding:110px 0;
  position:relative;
  z-index:2;
}

.rn-eyebrow{
  margin:0 0 22px;
  color:var(--rn-gold);
  font-size:13px;
  font-weight:600;
  letter-spacing:1.6px;
  text-transform:uppercase;
}

.rn-hero h1{
  margin:0;
  color:#f4f1ea;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(54px, 7vw, 92px);
  line-height:.92;
  font-weight:600;
  letter-spacing:-1px;
}

.rn-hero__lead{
  max-width:670px;
  margin:30px 0 0;
  color:#d8d3c8;
  font-size:19px;
  line-height:1.75;
}

.rn-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:38px;
}

.rn-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border:1px solid var(--rn-gold);
  border-radius:2px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.7px;
  text-transform:uppercase;
  text-decoration:none;
  transition:.2s ease;
}

.rn-btn--gold{
  background:var(--rn-gold);
  color:#fff;
}

.rn-btn--gold:hover{
  background:#967b44;
  border-color:#967b44;
  color:#fff;
}

.rn-btn--outline{
  background:transparent;
  color:#f4f1ea;
}

.rn-btn--outline:hover{
  background:var(--rn-gold);
  color:#fff;
}

.rn-section{
  padding:90px 0;
}

.rn-section--light{
  background:var(--rn-paper);
}

.rn-section--white{
  background:#fff;
}

.rn-section--dark{
  background:var(--rn-bg);
  color:#eee9de;
}

.rn-section__head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:38px;
}

.rn-kicker{
  margin:0 0 8px;
  color:var(--rn-gold);
  font-size:12px;
  font-weight:700;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.rn-section h2{
  margin:0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(38px, 4.5vw, 58px);
  line-height:1;
  font-weight:600;
}

.rn-section__link{
  color:var(--rn-text);
  font-weight:700;
  text-decoration:none;
}

.rn-section--dark .rn-section__link{
  color:#f3efe6;
}

.rn-grid{
  display:grid;
  gap:24px;
}

.rn-grid--4{
  grid-template-columns:repeat(4, minmax(0,1fr));
}

.rn-category{
  min-height:260px;
  position:relative;
  display:flex;
  align-items:flex-end;
  padding:26px;
  background:#24231f;
  color:white;
  text-decoration:none;
  overflow:hidden;
  border:1px solid var(--rn-line);
}

.rn-category:before{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-24px;
  top:-24px;
  border:1px solid rgba(184,154,90,.3);
  border-radius:50%;
}

.rn-category:after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  right:8px;
  top:8px;
  border:1px solid rgba(184,154,90,.2);
  border-radius:50%;
}

.rn-category span{
  position:relative;
  z-index:2;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:30px;
  line-height:1.05;
}

.rn-category:hover{
  color:white;
  transform:translateY(-2px);
  transition:.2s ease;
}

.rn-products ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:28px;
  margin:0 !important;
}

.rn-products ul.products:before,
.rn-products ul.products:after{
  display:none !important;
}

.rn-products ul.products li.product{
  width:auto !important;
  margin:0 !important;
  background:#fff;
  padding:18px 18px 22px;
  border:1px solid #e7e1d5;
  transition:.2s ease;
}

.rn-products ul.products li.product:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(35,29,18,.08);
}

.rn-products ul.products li.product img{
  margin-bottom:18px !important;
  background:#f1eee7;
}

.rn-products ul.products li.product .woocommerce-loop-product__title{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:23px !important;
  line-height:1.15;
  color:var(--rn-text);
}

.rn-products ul.products li.product .price{
  color:var(--rn-gold) !important;
  font-weight:700;
}

.rn-products ul.products li.product .button{
  border-radius:2px;
  background:var(--rn-bg);
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:12px;
}

.rn-trust{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border:1px solid var(--rn-line);
}

.rn-trust__item{
  padding:34px;
  border-right:1px solid var(--rn-line);
}

.rn-trust__item:last-child{
  border-right:0;
}

.rn-trust__item h3{
  margin:0 0 10px;
  color:var(--rn-gold-light);
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:25px;
}

.rn-trust__item p{
  margin:0;
  color:#c8c2b7;
  line-height:1.65;
}

.rn-empty{
  padding:28px;
  border:1px solid #e5dfd2;
  background:#fff;
}

@media (max-width:1100px){
  .rn-grid--4,
  .rn-products ul.products,
  .rn-trust{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .rn-trust__item:nth-child(2){
    border-right:0;
  }
  .rn-trust__item{
    border-bottom:1px solid var(--rn-line);
  }
  .rn-hero:before,
  .rn-hero:after{
    opacity:.35;
  }
}

@media (max-width:700px){
  .rn-container{
    width:min(100% - 28px, 1400px);
  }
  .rn-hero{
    min-height:610px;
  }
  .rn-hero__content{
    padding:76px 0;
  }
  .rn-hero h1{
    font-size:52px;
  }
  .rn-hero__lead{
    font-size:17px;
  }
  .rn-section{
    padding:64px 0;
  }
  .rn-grid--4,
  .rn-products ul.products,
  .rn-trust{
    grid-template-columns:1fr !important;
  }
  .rn-trust__item{
    border-right:0;
  }
  .rn-section__head{
    display:block;
  }
  .rn-section__link{
    display:inline-block;
    margin-top:18px;
  }
}
