body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: Arial, sans-serif;
  background-image: url('backgar.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
overflow-x: hidden;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./fontz/Satoshi-Regular.woff2') format('woff2'),
       url('./fonts/Satoshi-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./fontz/Satoshi-Bold.woff2') format('woff2'),
       url('./fonts/Satoshi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}


a:visited{text-decoration: none;
color: black;}
a{text-decoration: none;
color: black;}

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.columns {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* Left Column */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Container 1 */
.container1 {
  width: 275px;
  height: 110px;
  display: flex;
 background: linear-gradient(to bottom, #a3a3a3, #e6e6e6);
  border: 4px outset rgb(179, 177, 177);
}

.profile-img {
  width: 100px;
  height: 100px;
  padding: 3px;
  box-sizing: border-box;
  margin-top: 5px;
  margin-left: 3px;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid black;
}

.text-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
}

/* Container 2 */
.container2 {
  width: 275px;
  height: 275px;
  background: linear-gradient(to bottom, #b3b3b3, #e6e6e6);
   border: 4px outset rgb(179, 177, 177);
  display: flex;
  align-items: center;
  justify-content: center;
}

.square-img {
  width: 261px;
  height: 261px;
  object-fit: cover;
  margin: 7px;
}

/* Right Column */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.label-box {
  width: 275px;
  height: 85px;
  background: linear-gradient(to bottom, #8f8d8d, #e6e6e6);
  border: 4px outset rgb(179, 177, 177);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
  transition: background 1s ease;
  background-image: url('seven.png');
  background-position: bottom;
}
.label-box:hover{transform: scale(.96);
background: linear-gradient(to bottom, #767ca3, #8cb0da);
border: 4px inset rgb(133, 133, 133);
box-shadow: 2px 2px 10px black;}

.bottom-bar {
  margin-top:-90px;
  display: flex;
  justify-content: center;
  gap: 20px;

}

.action-button {
  padding: 4px 6px;
  font-size: 23px;
  font-weight: bold;
  border: 2px outset #7e7e7e;
  backgromund: linear-gradient(to bottom, #a7a7a7, #e6e6e6);
  box-shadow: inset 0 1px 0 #000000, inset 0 -1px 0 #000000;
  cursor: pointer;
 text-transform: capitalize;
  margin-top: 10px;
  transition: background 5s ease;
  background-image: url('seven.png');
  background-position: top;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.822);
  color:#000;
}
.action-button:visited{color: black;}
.action-button:hover{transform: scale(1.1);}

.action-button:hover {
  background: linear-gradient(to bottom, #6e6e6e, #aaa9a9);
}

/* Wrap everything in a scaler */
.scaler {
  transform-origin: top center;
  transition: transform 0.2s ease;
}

.text-under-name {
  width: 275px;
  height: 60px;
  background: linear-gradient(to bottom, #a3a3a3, #e6e6e6);
  border: 4px outset rgb(179, 177, 177);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.text-browser {
  width: 275px;
  height: 500px;
  background: linear-gradient(to bottom, #8f8d8d, #e6e6e6);
  border: 4px outset rgb(179, 177, 177);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
  font-weight: bold;
text-shadow: .1px .1px 1px black;
}
.line{border-bottom: 7px ridge black;
  margin-bottom: 7px;}

.line2{border-bottom: 7px ridge black;
margin-top: -19px;
margin-bottom: 5px;
}

.browser-header{height: 25px;
  background: #a3a3a3;
  display: flex;
  min-height: 30px;
  align-items: right;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.582);
  border-bottom: 2px outset rgb(255, 255, 255);
background-image: url('donwork2.gif');
background-position: center;}

.browser-header::before {
  content: \"●  ●  ●\";
  color: #000;
  font-size: 28px;
}

.browser-content {
  padding: 0px 7px;
  text-transform: capitalize;
  line-height: 1.2;
  font-family: 'Druk Wide Bold';
  font-size: 23px;
  margin-top: -7px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px black;
}

.arrow {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  text-shadow: 1px 1px 1px black, -1px -1px 1px black;
}



/* =========== OFFERS HOMEPAGE =========== */

/* Page layout: main + sidebar */
.offers-layout{
  display:flex;
  gap:30px;
  justify-content:center;
  align-items:flex-start;
  padding:30px 16px;
}

/* Main container (styled like .container1, just bigger + scroll) */
.container-main{
  width:min(1000px, 95vw);
  max-height:calc(100vh - 60px);
min-width: 450px; 
  overflow:auto;
  background: linear-gradient(to bottom, #a3a3a3, #e6e6e6);
  border: 4px outset rgb(179,177,177);
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
}

.container-main__header{
  height:75px;
  display:flex; align-items:center;
  padding: 0 16px;
  border-bottom: 7px ridge #000;
}
.container-main__header h1{
  margin:0;
  font-family:'Druk Wide Bold', system-ui, sans-serif;
  letter-spacing:1px;
font-size: clamp(22px, 5.6vw, 50px);
  /* tighten spacing as it shrinks so it doesn't “burst” */
  letter-spacing: clamp(0px, 0.2vw, 2px);
  line-height: 1.05;
  white-space: nowrap;       
}

/* Offer rows (using label-box energy but full-width and horizontal) */
.offer-list{ list-style:none; margin:0; padding:0; }

.offer-row{
  border-top: 2px solid #000;
  background: linear-gradient(to bottom, #8f8d8d, #e6e6e6);
}
.offer-row:first-child{ border-top:none; }

.offer-row__link{
  display:grid;
  grid-template-columns: 120px 1fr;
  align-items:center;
  gap:24px;
  min-height:120px;
  padding:12px 16px;
  color:#000;
}

.offer-row:hover .offer-row__link{
  transform: translateY(-1px);
}

.thumb{
  width:100px;height:100px;
  background:#dcdcdc url('seven.png') center/cover no-repeat; /* swap per-offer */
  border: 2px solid #000;
  box-shadow: inset 0 1px 0 #000, inset 0 -1px 0 #000;
}

.title{
  font-family:'Druk Wide Bold', system-ui, sans-serif;
 font-size: clamp(25px, 3.6vw, 32px);
  letter-spacing: clamp(0px, 0.18vw, 1px);
  line-height: 1.1;
}

/* Sort sidebar */
.sort-box{
  width: 180px; /* “small ~100px” + padding for button text */
  background: linear-gradient(to bottom, #b3b3b3, #e6e6e6);
  border: 4px outset rgb(179,177,177);
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
  position: sticky; top:30px; /* sits at top on desktop */
  align-self:flex-start;
  padding:0 8px 8px;
  max-width: 350px;
}
.sort-box__header{
  height:40px; display:flex; align-items:center; justify-content:center;
  font-weight:700;
  border-bottom: 4px ridge #000;
  margin:0 -8px 8px;
}

/* Buttons styled like label-box */
.sort-btn{
  display:block; width:100%;
  margin:8px 0 0; padding:10px 8px;
  font-weight:700; cursor:pointer;
  border: 4px outset rgb(179,177,177);
  background: linear-gradient(to bottom, #8f8d8d, #e6e6e6);
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
}
.sort-btn:hover{ transform: scale(.98); background: linear-gradient(to bottom, #767ca3, #8cb0da); }


.container-main__header{
    min-height: unset;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:space-between; /* push date to the right */
  padding: 0 16px;
  border-bottom: 7px ridge #000;
padding: clamp(8px, 1.5vw, 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.2vw, 14px);
  flex-wrap: wrap;      }

.season-date{
  font-family:'Druk Wide Bold', system-ui, sans-serif;
   font-size: clamp(12px, 2.2vw, 22px);
  letter-spacing: clamp(0px, 0.12vw, 1px);
  text-transform: uppercase;
  white-space: nowrap;
}

.sort-btn.is-active {
  border: 4px inset rgb(133,133,133);
  transform: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,.35);
}

/* Offer row hover contrast flip */
.offer-row:hover {
  background-image: url('donbck4.png');
}

.offer-row:hover .offer-row__link {
  transform: translateY(-1px);
}

.offer-row:hover .thumb {
  border-color: #2b4bbd; /* deep blue border instead of black */
  box-shadow: inset 0 1px 0 #2b4bbd, inset 0 -1px 0 #2b4bbd;
}

.offer-row:hover .title {
  color: #2b4bbd; /* title text turns blue */
  text-shadow: 1px 1px 0 #000000; /* make it pop */
}

.offer-row:hover {
  border-top-color: #2b4bbd;
}


/* =========== OFFER PAGE =========== */

.offer-layout{
  min-height:100vh;
  display:flex;
  margin-top: 15px;
  margin-bottom: 10px;
  justify-content:center;
  align-items:center;
  padding:24px 12px;
}

/* Square main, centered */
.offer-main {
  width: min(900px, 95vw);
  aspemct-ratio: 1 / 1; /* keep square shape */
  display: grid;
  
  grid-template-rows: auto auto auto; /* shorter top section */
  background: linear-gradient(to bottom, #a3a3a3, #e6e6e6);
  border: 4px outset rgb(179,177,177);
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
  overflnow: hidden;
}

.offer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 4px solid #000;
  overflow: hidden; /* stop content from stretching height */
}

.offer-col-inner {
  padding: 14px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: clamp(14px, 1.8vw, 22px);
}

.offer-col{
  display:flex;
  border-right: 4px solid #000;
}
.offer-col:last-child{ border-right:none; }
.offer-desc #offerDescription{
  font-weight:700;
  line-height:1.15;
  font-size: clamp(16px, 2.2vw, 26px);
}
.offer-flyer img{
  width:100%; height:700px;; display:block; object-fit:cover;
  /* keep nice edges like your UI */
  border: 2px solid #000;
  box-shadow: inset 0 1px 0 #000, inset 0 -1px 0 #000;
}

/* Title bar */
.offer-title-bar{
  border-bottom: 4px solid #000;
  display:flex; align-items:center; justify-content:center;
  padding:20px 14px;
  background: linear-gradient(to bottom, #8f8d8d, #e6e6e6);
}
.offer-title-bar h1{
  margin:0;
  text-align:center;
  font-family:'Druk Wide Bold', system-ui, sans-serif;
  letter-spacing:1px;
  font-size: clamp(20px, 3.2vw, 36px);
}

/* Buttons row – styled like label-box but compact */
/* Buttons row – styled like label-box but compact */
.offer-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 5px 12px 12px;
}

.label-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px; /* reduced from 14px to 8px for shorter height */
  font-weight: 700;
  height:50px;
  text-transform: capitalize;
  border: 4px outset rgb(179, 177, 177);
  background: linear-gradient(to bottom, #8f8d8d, #e6e6e6);
  box-shadow: inset 0 1px 0 #a3a3a3, inset 0 -1px 0 #cccccc;
  cursor: pointer;
  font-size: 25px;
}

.label-btn:hover {
  transform: scale(.98);
  background: linear-gradient(to bottom, #767ca3, #8cb0da);
}

.liner{border-bottom: 4px ridge black;
margin-top: 10px;
margin-bottom: 10px;}

#roof{text-shadow: 1px 1px 2px rgba(0, 0, 255, 0.863);
letter-spacing: -1px;
background-image: url('seven.png');
line-height: 45px;
box-shadow: -2px 1px 7px rgb(4, 4, 7);}

/* keep subtext readable on small screens */
.offer-desc #offerDescription,
.offer-col-inner {
  font-size: clamp(22px, 2.2vw, 26px);  /* was 16px min — now 18px min */
  line-height: 1.25;                    /* more breathing room */
}

.yy{border: 2px outset rgb(87, 87, 87);
border-radius: 3px;
width: fit-content;
text-transform: uppercase;
font-weight: 700;
box-shadow: 2px 2px 2px black;
background-color: rgba(240, 255, 255, 0.61);
z-index: 3;
margin-bottom: 50px;
margin-top: 20px;
padding: 4px;}

.yy:hover{cursor: pointer;
transform: scale(1.5);}
/* 0) global x-scroll kill (html too) */
html, body {
  overflow-x: hidden;
}

/* 1) center the offer page + remove padding that can push width */
.offer-layout{
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;            /* no stray horizontal padding */
  overflow: hidden;      /* belt + suspenders */
}

/* 2) the main square: 550px floor, no overflow */
.offer-main{
  width: min(900px, 95vw);
  min-width: 550px;      /* your requested floor */
  max-width: 100%;
     /* fix: spelled correctly, keeps it square */
  margin: 0 auto;
  overflow: hidden;      /* fix: was 'overflnow' */
}

/* 3) grid children can’t push width */
.offer-top{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr); /* fix: prevents overflow */
  gap: 0;
  border-bottom: 4px solid #000;
  overflow: hidden;
}

/* 4) ensure inner blocks can actually shrink */
.offer-col-inner,
.offer-desc,
.offer-title-bar{
  min-width: 0;
}

/* 5) images never force the container wider */
.offer-flyer img{
  display: block;
  width: 100%;
  height: auto;          /* fix: drop the fixed 700px height */
  object-fit: cover;
}

/* 6) long titles don’t blow layout */
.offer-title-bar h1{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Mobile stacking */
@media (max-width: 750px){
  .offer-top{ grid-template-columns: 1fr; }
  .offer-col{ border-right:none; border-bottom: 4px solid #000; }
  .offer-col:last-child{ border-bottom:none; }
  .offer-actions{ grid-template-columns: repeat(2, 1fr); }
}



/* Mobile: sort box above, centered */
@media (max-width: 900px){
  .offers-layout{ flex-direction:column; align-items:center;}
.offer-main{margin-left: 10px;} 
  .sort-box{ position:static; width:min(420px, 95vw);   margin: 0 auto;  }
}










/* Scale down proportionally when the screen is narrow */
@media screen and (max-width: 1100px) {
  .scaler {
    transform: scale(0.95);
  }
}

@media screen and (max-width: 900px) {
  .scaler {
    transform: scale(0.9);
  }
}

@media screen and (max-width: 750px) {
  .scaler {
    transform: scale(0.8);
  }
}

@media screen and (max-width: 600px) {
  .scaler {
    transform: scale(0.7);
  }
}

@media screen and (max-width: 480px) {
  .scaler {
    transform: scale(0.65);
  }
  body{background-position: left;}
}

@media screen and (max-width: 390px) {
  .scaler {
    transform: scale(0.5);
  }
}

/* at very tight widths, allow the date to slip below before wrapping the H1 */
@media (max-width: 1100px){
  .container-main__header h1{
   font-size:  45px;
  }
  
}
@media (max-width: 1000px){
  .container-main__header h1{
   font-size:  40px;
  }
  
}

@media (max-width: 925px){
  .container-main__header h1{
   font-size:  35px;
  }
  
}

@media (max-width: 625px){
  .container-main__header h1{
   font-size:  29px;
  }
  
}

@media (max-width: 515px){
  .container-main__header h1{
   font-size:  26px;
  }
  
}

/* ===== OFFER PAGE FIXES (drop at end) ===== */



/* 7) OPTIONAL: tiny-screen fallback
   If you want ZERO horizontal scroll on 360–430px phones without scaling,
   relax the min-width under 560px and stack the top row.
   (Comment this out if you prefer the scaling option below.) */
@media (max-width: 560px){
  .offer-main { min-width: 350px; }  /* keeps it crisp, no scaling */
  .offer-top { grid-template-columns: 1fr; }
  .offer-col { border-right: none; border-bottom: 4px solid #000; }
  .offer-col:last-child { border-bottom: none; }
}

/* 8) ALTERNATIVE to #7: keep 550px design and auto-scale on tiny phones.
   Uncomment this block and comment out the block above if you prefer scaling. */
/*
@media (max-width: 550px){
  .offer-layout { overflow: hidden; }
  .offer-main{
    width: 550px;
    min-width: 550px;
    transform-origin: center center;
    transform: scale(calc(100vw / 550));
  }
}
*/

/* 9) neutralize old scaler so text isn’t blurry */
.scaler { transform: none !important; }
