/*
Theme Name: RareEdge Brand Homepage
Theme URI: https://wear.rareedge.co.uk/
Author: RareEdge
Description: Homepage-focused child theme for the RareEdge WooCommerce parent theme.
Version: 1.6.2
Template: rareedge
Text Domain: rareedge-homepage
*/

:root{
  --re-orange:#ff5a00;
  --re-black:#080808;
  --re-paper:#f4f1eb;
  --re-paper-2:#ece8e1;
  --re-white:#ffffff;
}

body.home.rareedge-theme{
  background:var(--re-paper);
  color:var(--re-black);
}

body.home .re-header{
  background:rgba(244,241,235,.97);
  border-bottom:1px solid rgba(8,8,8,.14);
}

body.home .re-main{overflow:hidden;}

/* HERO */
.re-home-hero{background:var(--re-black);color:var(--re-white);}
.re-home-hero__inner{
  width:min(100%,1280px);margin:0 auto;padding:22px 18px 28px;
}
.re-home-hero__brand{padding:6px 0 18px;}
.re-home-hero__brand small,
.re-home-kicker{
  display:block;color:var(--re-orange);font-size:10px;font-weight:900;
  letter-spacing:.2em;text-transform:uppercase;
}
.re-home-hero__title{
  margin:0;font-family:Impact,"Arial Narrow",sans-serif;
  font-size:clamp(76px,22vw,150px);line-height:.84;letter-spacing:-.02em;text-transform:uppercase;
}
.re-home-hero__title span{color:var(--re-orange);}
.re-home-hero__lead{
  max-width:420px;margin:14px 0 0;font-size:16px;line-height:1.35;font-weight:700;
}
.re-home-hero__action{margin-top:18px;}
.re-home-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;
  background:var(--re-orange);color:var(--re-white);border:2px solid var(--re-orange);
  text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.08em;
}
.re-home-btn:hover{background:transparent;color:var(--re-white);}

/* ORANGE STRIP */
.re-home-strip{background:var(--re-orange);color:var(--re-white);overflow:hidden;}
.re-home-strip__inner{
  width:max-content;min-width:100%;padding:9px 0;display:flex;gap:18px;justify-content:center;
  white-space:nowrap;font-family:Impact,"Arial Narrow",sans-serif;font-size:13px;letter-spacing:.08em;text-transform:uppercase;
}
.re-home-strip__inner .dot{color:var(--re-black);}

/* STATEMENTS */
.re-home-statements{background:var(--re-black);color:var(--re-white);border-top:1px solid rgba(255,255,255,.08);}
.re-home-statements__inner{
  width:min(100%,1280px);margin:0 auto;padding:16px 18px 18px;display:grid;grid-template-columns:1fr;gap:14px;
}
.re-home-statement{border-top:1px solid rgba(255,255,255,.12);padding-top:14px;}
.re-home-statement p{
  margin:0;font-family:Impact,"Arial Narrow",sans-serif;font-size:clamp(28px,8vw,42px);line-height:.86;text-transform:uppercase;
}
.re-home-statement em{color:var(--re-orange);font-style:normal;}

/* COLLECTION */
.re-home-section,.re-home-manifesto{
  width:min(100%,1280px);margin:0 auto;padding:32px 18px 50px;
}
.re-home-head{margin-bottom:24px;}
.re-home-head h2{
  margin:10px 0 10px;font-family:Impact,"Arial Narrow",sans-serif;
  font-size:clamp(44px,13vw,86px);line-height:.88;text-transform:uppercase;
}
.re-home-head p{
  max-width:540px;margin:0;font-size:14px;line-height:1.42;font-weight:700;
}

.re-home-products{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;
}
.re-product-card{color:inherit;text-decoration:none;display:block;}
.re-product-card__image{
  background:var(--re-paper-2);aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;
  overflow:hidden;margin-bottom:10px;
}
.re-product-card__image img{width:100%;height:100%;object-fit:cover;display:block;}
.re-product-card__name{
  margin:0;font-family:Impact,"Arial Narrow",sans-serif;font-size:23px;line-height:.92;text-transform:uppercase;letter-spacing:-.01em;
}
.re-product-card__sub{
  display:block;margin-top:3px;color:var(--re-orange);font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;
}
.re-product-card__price{margin-top:6px;font-size:14px;font-weight:900;}

.re-product-card__colourline{
  display:flex;align-items:center;gap:7px;margin-top:8px;min-height:14px;
}
.re-product-card__dots{display:flex;align-items:center;gap:3px;}
.re-colour-dot{
  width:8px;height:8px;border-radius:50%;border:1px solid rgba(8,8,8,.24);flex:0 0 8px;
}
.re-product-card__colourcount{
  font-size:9px;line-height:1;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:rgba(8,8,8,.58);
}

.re-home-shopall{margin-top:22px;}
.re-home-shopall a{
  display:inline-block;padding-bottom:2px;border-bottom:2px solid var(--re-black);color:var(--re-black);
  text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.08em;
}

/* CAMPAIGN */
.re-home-campaign{background:var(--re-black);color:var(--re-white);}
.re-home-campaign__inner{
  width:min(100%,1280px);margin:0 auto;padding:42px 18px 48px;
}
.re-home-campaign__inner h2{
  margin:10px 0 14px;font-family:Impact,"Arial Narrow",sans-serif;
  font-size:clamp(54px,16vw,124px);line-height:.8;text-transform:uppercase;letter-spacing:-.02em;max-width:560px;
}
.re-home-campaign__inner h2 span{color:var(--re-orange);}
.re-home-campaign__inner p{
  max-width:620px;margin:0;font-size:14px;line-height:1.48;font-weight:700;
}
.re-home-campaign__inner p + p{margin-top:10px;color:rgba(255,255,255,.74);}

/* MANIFESTO */
.re-home-manifesto{padding-bottom:60px;}
.re-home-manifesto h3{
  margin:8px 0 12px;font-family:Impact,"Arial Narrow",sans-serif;
  font-size:clamp(34px,10.4vw,72px);line-height:.88;text-transform:uppercase;max-width:740px;
}
.re-home-manifesto h3 span{color:var(--re-orange);}
.re-home-manifesto p{
  max-width:680px;margin:0;font-size:14px;line-height:1.45;font-weight:700;
}
body.home .re-footer{margin-top:0;}

@media (min-width:800px){
  .re-home-hero__inner{padding:34px 28px 34px;}
  .re-home-hero__lead{font-size:18px;}
  .re-home-statements__inner{padding:18px 28px 22px;grid-template-columns:1fr 1fr;gap:18px;}
  .re-home-statement p{font-size:clamp(28px,3vw,40px);}
  .re-home-section,.re-home-manifesto,.re-home-campaign__inner{padding-left:28px;padding-right:28px;}
  .re-home-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px;}
  .re-product-card__name{font-size:28px;}
  .re-home-head p,.re-home-campaign__inner p,.re-home-manifesto p{font-size:16px;}
}


/* LIFESTYLE IMAGE */
.re-home-lifestyle{
  background:var(--re-black);
  padding:0;
}

.re-home-lifestyle__media{
  width:min(100%,1280px);
  margin:0 auto;
  overflow:hidden;
}

.re-home-lifestyle__media img{
  width:100%;
  height:auto;
  display:block;
}

@media (max-width:799px){
  .re-home-lifestyle__media{
    aspect-ratio:4 / 5;
  }

  .re-home-lifestyle__media img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
  }
}


@media (max-width:799px){
  .re-home-campaign__inner{
    padding-top:22px;
  }
}


/* SUPPORTING BRAND MARK */
.re-home-brandstamp{
  background:var(--re-black);
  color:var(--re-white);
  border-top:1px solid rgba(255,255,255,.08);
}

.re-home-brandstamp__inner{
  width:min(100%,1280px);
  margin:0 auto;
  padding:26px 18px 28px;
  display:flex;
  align-items:center;
  gap:16px;
}

.re-home-brandstamp__inner img{
  width:74px;
  height:74px;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 74px;
}

.re-home-brandstamp__copy{
  min-width:0;
}

.re-home-brandstamp__copy .re-home-kicker{
  margin-bottom:6px;
}

.re-home-brandstamp__copy p{
  margin:0;
  font-family:Impact,"Arial Narrow",sans-serif;
  font-size:28px;
  line-height:.95;
  text-transform:uppercase;
}

@media (min-width:800px){
  .re-home-brandstamp__inner{
    padding:30px 28px 32px;
  }

  .re-home-brandstamp__inner img{
    width:88px;
    height:88px;
    flex-basis:88px;
  }

  .re-home-brandstamp__copy p{
    font-size:34px;
  }
}


/* SHOP IMAGE QUALITY
   Keep WooCommerce archive images sharp and prevent browser upscaling artefacts. */
body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img{
  width:100%;
  height:auto;
  display:block;
  image-rendering:auto;
}
