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-y: auto;}

@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;
}
.page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px; /* space below the bottom-bar */
}
.columns {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* 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, #8d8f8f, #e6e6e6);
  border: 4px outset rgb(175, 202, 209);
  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;
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: 37px;}

.bottom-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
flex-wrap: wrap;
}

.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;
  width: 100%; }

.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:485px;
  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);

  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;
}

/* 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:32px;
  letter-spacing:1px;
}

/* 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;
}
.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{
  height:75px;
  display:flex;
  align-items:center;
  justify-content:space-between; /* push date to the right */
  padding: 0 16px;
  border-bottom: 7px ridge #000;
}
.season-date{
  font-family:'Druk Wide Bold', system-ui, sans-serif;
  font-size:22px;
  letter-spacing:1px;
text-transform: uppercase;}

.sort-btn.is-active {
  border: 4px inset rgb(133,133,133);
  transform: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,.35);
}
#sele{font-size: 24px;
  text-dencoration: underline;
  letter-spacing: 1px;
font-family: 'Satoshi';
font-weight: 900;
text-shadow: 2px 2px 6px rgb(0, 0, 0);}

/* =========== OFFER PAGE =========== */

.offer-layout{
  min-height:100vh;
  display:flex;
  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;
  min-width: 550px;
}

.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;}

/* Mobile stacking */
@media (max-width: 720px){
  .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; }
  .sort-box{ position:static; width:min(420px, 95vw); }
}










/* Scale down proportionally when the screen is narrow */
@media screen and (max-width: 1100px) {
  .scaler {
    transform: scale(0.95);
  }
}

@media screen and (max-widjth: 900px) {
  .scaler {
    transform: scale(0.9);
  }
}

@media screen and (max-widnth: 750px) {
  .scaler {
    transform: scale(0.8);
  }
}

@media screen and (max-widtnh: 600px) {
  .scaler {
    transform: scale(0.7);
  }
}

@media screen and (max-wikdth: 480px) {
  .scaler {
    transform: scale(0.70);
  }
  body{background-position: left;}
}

@media screen and (max-wmidth: 390px) {
  .scaler {
    transform: scale(0.60);
  }
}

@media screen and (max-width: 600px) {
  .columns {
    margin-bottom: 30px;
  }
  .bottom-bar {
    gap: 12px;
  }
}
@media screen and (max-width: 750px) {
  .columns {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
  }
}
@media screen and (max-width: 750px) {
  .scaler {
    transform: scale(1.2); /* instead of dropping all the way to 0.6 */
  }
}
