/* ==========================================
   PRODUCT HERO
========================================== */

.product-hero{

    width:100%;
    max-width:1100px;

    padding:130px 20px 40px;

    margin:0 auto;

    text-align:center;

}

.product-top{
    display:block;
    font-size:13px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:#C9A55A;

    margin-bottom:18px;
}

.product-title{
    font-family:"Forum", serif;
    font-size:52px;
    font-weight:400;
    color: var(--brand-text);
    line-height:1.8;
    margin:0;
	margin-top: 0px;
}

.product-hero .product-name{

    font-family: "Forum", serif;

    font-size: 46px;

    

    font-weight: 400;

    color: var(--brand-bronze);

    text-align: center;

    margin:-10px 0 14px;

    letter-spacing: 1px;

}

.product-subtitle{

    font-family:"Forum", serif;
    font-size:36px;
    font-weight:400;
    color:#8A6432;

    margin:24px 0 30px;

    letter-spacing:.5px;

}

.product-description{
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
	margin-top: -5px;
    line-height: 1.6;
    letter-spacing: 0.3px;
    color: var(--brand-text);
    text-align: center;
}

.product-divider{

    display:block;

    width:170px;

    margin:24px auto 55px;

}

/* ==========================================
   PRODUCT IMAGE
========================================== */

.product-image{
    width:100%;
    display:flex;
    justify-content:center;
    margin:-60px 0 20px;
	
}

.product-image-card{
	max-width:900px;
    width:100%;
    padding:20px;
    border-radius:28px;
	 background: var(--brand-text);
	
}

.product-image-card::before{
    content:"";
    position:absolute;
    inset:8px;

    border:1.5px solid var(--brand-gold);
    border-radius:18px;

    pointer-events:none;
}

.product-image img{
    display:block;
    width:100%;
    max-width:1200px;
}

/* ==========================================
   FINAL SHOWCASE
========================================== */

.final-showcase{

    width:100%;

    display:flex;

    justify-content:center;

    margin:40px 0 80px;

}


/* ==========================================
   SPECIFICATIONS
========================================== */

.product-specifications{
	
	width:fit-content;

    max-width:900px;

    margin:10px auto 100px;

    display:grid;

    justify-content:center;

}

.specification{

    display:grid;

    grid-template-columns:180px 55px 1fr;

    align-items:center;

    column-gap:0;

    padding:8px 0;

}

.spec-label{
	
	display:inline-block;
	
    width:200px;

    font-family:"Cormorant Garamond", serif;

    font-size:20px;

    font-weight:300;
	
	margin-right:28px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:var(--brand-gold);

}

.spec-divider{

    display:inline-block;

    width:55px;

    text-align:center;

}

.spec-value{
    white-space:nowrap;
    flex:1;
    font-family:"Cormorant Garamond", serif;
    font-size:20px;
    font-style:italic;
    font-weight:500;
    color:var(--brand-bronze);
    line-height:0.8;
}

.materials-spec .spec-value{
    line-height:1.0;
}

.specification:nth-child(2) .spec-value{
    line-height:1.5;
}

/* ==========================================
   GALLERY
========================================== */

.product-gallery{
    max-width:1200px;
    margin:-110px auto 120px;
    padding:0 20px;
}

.section-title{

    font-family:"Forum", serif;
    font-size:72px;
    font-weight:400;
    line-height:1.05;

    color:var(--brand-text);

    text-align:center;

    margin:0 0 60px;

    letter-spacing:0;

    text-shadow:none;

    opacity:1;

}

.gallery-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:25px;
    margin-top:-40px;
}

.gallery-grid img{

    width:100%;

    height:auto;

    display:block;

    object-fit:contain;

    object-position:center;

    border-radius:18px;

    transition:.35s;

    cursor:pointer;

}

.gallery-grid img:hover{

    transform:scale(1.02);

    box-shadow:0 18px 40px rgba(0,0,0,.18);

}


/* ==========================================
   RELATED PRODUCTS
========================================== */

.related-products{
     max-width:1200px;
     margin:-100px auto 120px;
	 margin-top:-70px;
     padding:0 20px;
	 padding-top:0px;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.thank-you-title{

    font-size:40px;
	
	color:var(--brand-text);

    line-height:1.15;

    margin-bottom:10px;
	
	margin-top:-12px;

}

.footer-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:150px;

    margin:-100px 0 45px;

    flex-wrap:wrap;

}

.footer-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    width:220px;

    height:48px;

    text-decoration:none;

    color:var(--brand-bronze);

    border:1px solid var(--brand-gold);

    border-radius:999px;

    background:rgba(255,255,255,.18);

    font-family:"Cormorant Garamond", serif;

    font-size:18px;

    font-weight:300;

    transition:.35s ease;

}

.footer-btn i{

    font-size:18px;

    margin-right:12px;

    color:var(--brand-text);

    transition:.35s ease;

}

.footer-btn:nth-child(2){

    min-width:280px;

}

.footer-btn:hover{

    background:var(--brand-green);

    color:var(--brand-gold);

    border-color:var(--brand-gold);

    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.18),
        0 0 12px rgba(201,162,93,.35);

}

.footer-btn i{

    font-size:18px;

    margin-right:10px;

    color:var(--brand-bronze);

    transition:.35s ease;

}

.footer-btn:hover i{

    color:var(--brand-gold);

}

.footer-bottom{

    text-align:center;

    font-size:14px;

    color:var(--brand-text);

    font-family:"Cormorant Garamond", serif;

    letter-spacing:.5px;

    margin-top:35px;

    margin-bottom:20px;

}





/* ==========================================
   PAGE WIDTH / HORIZONTAL OVERFLOW FIX
   ========================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.product-hero,
.product-image,
.product-image-card,
.product-specifications,
.product-gallery,
.final-showcase,
.related-products {
    width: 100%;
    max-width: 100%;
}

.product-hero {
    padding-left: 20px;
    padding-right: 20px;
}

.product-image-card {
    width: min(900px, 100%);
}

.product-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.product-gallery,
.related-products {
    width: 100%;
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

.gallery-grid,
.related-grid {
    width: 100%;
    max-width: 100%;
}

.final-showcase {
    padding-left: 20px;
    padding-right: 20px;
}

.final-showcase .product-image {
    width: 100%;
}

.final-showcase .product-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:900px){

.product-title{
    font-size:36px;
}

.product-subtitle{
    font-size:20px;
}

.specification{

    display:grid;

    grid-template-columns:180px 55px 1fr;

    column-gap:60px;

    align-items:start;

    padding:8px 0;

    border-bottom:1px solid rgba(201,162,93,.25);

}

.gallery-grid{
	grid-template-columns:1fr;
}

.related-grid{
    grid-template-columns:1fr;
}

}

@media (max-width:600px){

/* ==========================================
   MOBILE WIDTH / TEXT WRAPPING FIX
   ========================================== */

.product-hero{
    padding-left:12px;
    padding-right:12px;
}

.product-title{
    font-size:30px;
    line-height:1.15;
    margin:0;
}

.product-subtitle{
    font-size:21px;
    line-height:1.15;
    margin:8px 0 12px;
}

.product-description{
    width:100%;
    max-width:100%;
    padding:0 4px;
    font-size:15px;
    line-height:1.35;
    overflow-wrap:anywhere;
    word-break:normal;
}

.product-divider{
    width:120px;
    margin:14px auto 25px;
}

/* The specifications are the important part:
   labels and values stay inside the phone width,
   while long text is allowed to wrap to 2+ lines. */

.product-specifications{
    width:100%;
    max-width:100%;
    padding:0 10px;
    margin:5px auto 45px;
}

.specification{
    width:100%;
    display:grid;
    grid-template-columns:92px 22px minmax(0,1fr);
    column-gap:0;
    align-items:start;
    padding:5px 0;
    border-bottom:1px solid rgba(201,162,93,.20);
}

.spec-label{
    width:auto;
    margin-right:0;
    font-size:13px;
    line-height:1.15;
    letter-spacing:1px;
    overflow-wrap:anywhere;
}

.spec-divider{
    width:22px;
    text-align:center;
    font-size:12px;
    line-height:1.2;
}

.spec-value{
    min-width:0;
    width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
    font-size:15px;
    line-height:1.25;
}

.materials-spec .spec-value{
    line-height:1.25;
}

.specification:nth-child(2) .spec-value{
    line-height:1.25;
}

/* Keep the main image inside the screen */
.product-image{
    width:100%;
    margin:-20px 0 15px;
    padding:0 4px;
}

.product-image-card{
    width:100%;
    max-width:100%;
    padding:10px;
    border-radius:18px;
}

.product-image img{
    width:100%;
    max-width:100%;
    height:auto;
}

/* Gallery title */
.product-gallery{
    width:100%;
    max-width:100%;
    padding-left:12px;
    padding-right:12px;
    margin:-35px auto 70px;
}

.section-title{
    font-size:52px;
    line-height:1.05;
    margin:0 0 30px;
}

.gallery-grid{
    width:100%;
    gap:18px;
    margin-top:0;
}

/* ==========================================
   ARABIC PRODUCT PAGES — MOBILE ONLY
   MOVE MAIN CONTENT UP 100px
   ========================================== */



@media (max-width:600px){

    /* Arabic product pages — move all product content up 50px */
    html[dir="rtl"] body.gallery-page main{
        position:relative !important;
        top:-50px !important;
    }

}