﻿/*
Theme Name: IZM COD
Theme URI: https://example.com/izm-cod
Author: IZM Studio
Author URI: https://example.com/
Description: IZM COD is a premium, modern Arabic RTL WordPress & WooCommerce theme designed specifically for e-commerce and Cash on Delivery (COD) stores. Features include customizable color schemes, interactive variation swatches, single-click COD ordering, sticky mobile navigation, and seamless Customizer integration.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: izm-cod
Domain Path: /languages
Tags: e-commerce, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, rtl-language-support, theme-options, translation-ready, woocommerce
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #101010;
  --gold: #b99145;
  --gold-hover: #9c7834;
  --cream: #f6f3ee;
  --white: #ffffff;
  --muted: #777777;
  --line: #e8e5df;
  --red: #b53b32;
  --bg: #ffffff;
  --text: #101010;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
  --font-main: 'Cairo', Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: var(--font-main);
}

/* Announcement Bar */
.announce {
  background: var(--black);
  color: #ffffff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.announce b {
  color: #dfbd75;
}
.announce a {
  color: #ffffff;
  text-decoration: underline;
}

/* Header & Nav */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow 0.3s;
}
.header.is-sticky {
  box-shadow: var(--shadow-sm);
}
.nav {
  max-width: 1280px;
  margin: auto;
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--black);
}
.logo span, .logo-accent {
  color: var(--gold);
}
.navlinks {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navlinks a {
  color: var(--black);
  position: relative;
}
.navlinks a:hover, .navlinks .current-menu-item > a {
  color: var(--gold);
}
.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-form-wrap {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 16px;
  width: 230px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
}
.search-form-wrap input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  background: transparent;
}
.search-form-wrap button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.circle-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  transition: all 0.2s ease;
  color: var(--black);
}
.circle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 24px;
}
.hero-inner {
  min-height: 520px;
  border-radius: var(--radius-xl);
  background: linear-gradient(100deg, #111111 0%, #201e1a 48%, #e7dfd0 48%, #f6f2e9 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-copy {
  width: 52%;
  padding: 55px;
}
.hero-copy.dark {
  color: #ffffff;
}
.hero-copy.dark h1 {
  color: #ffffff;
}
.hero-copy.dark p {
  color: #d1cfcb;
}
.label {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.25;
  margin: 16px 0;
  font-weight: 900;
}
.hero p {
  line-height: 1.9;
  max-width: 480px;
  font-size: 15px;
  margin-bottom: 25px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  border: 0;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  font-size: 14px;
  text-align: center;
}
.btn.gold {
  background: var(--gold);
  color: #ffffff;
}
.btn.gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 4px 12px rgba(185, 145, 69, 0.3);
}
.btn.black {
  background: var(--black);
  color: #ffffff;
}
.btn.black:hover {
  background: #252525;
}
.btn.outline {
  border: 1px solid #ccc;
  background: var(--white);
  color: var(--black);
}
.btn.outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn.full {
  width: 100%;
}

/* Section Wrappers */
.wrap {
  max-width: 1280px;
  margin: 70px auto;
  padding: 0 24px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 28px;
  margin: 0;
  font-weight: 800;
  color: var(--black);
}
.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover {
  color: var(--black);
}

/* Categories Grid */
.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  height: 190px;
  border-radius: var(--radius-md);
  background: var(--cream);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-size: 17px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #e5dccd;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
}
.cat-card:hover::before {
  transform: translateX(-50%) scale(1.1);
}
.cat-card img {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-height: 105px;
  width: auto;
  object-fit: contain;
  z-index: 1;
  transition: transform 0.3s ease;
}
.cat-card:hover img {
  transform: translateX(-50%) scale(1.06);
}
.cat-card span {
  position: relative;
  z-index: 2;
  color: var(--black);
}

/* Product Grid & Card */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.photo {
  height: 320px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f1f0ed, #d9d5ce);
  display: grid;
  place-items: center;
  color: #888888;
  position: relative;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .photo img {
  transform: scale(1.05);
}
.photo .tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--black);
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 4px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.photo .tag.sale-tag {
  background: var(--red);
  color: #fff;
}
.heart-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.heart-btn:hover {
  color: var(--red);
  transform: scale(1.1);
}
.info {
  padding: 14px 4px 6px;
  flex: 1;
}
.stars {
  color: #b28a43;
  font-size: 14px;
}
.stars-score {
  color: var(--muted);
  font-size: 12px;
  margin-right: 4px;
}
.info h3 {
  font-size: 15px;
  margin: 6px 0 4px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
}
.info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.price {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
}
.old {
  color: #999;
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 400;
}
.add-to-cart-btn {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   PREMIUM PRODUCT PAGE (EXACT DESIGN MATCH)
   ========================================================= */
.product-page {
  max-width: 1280px;
  margin: 45px auto 80px;
  padding: 0 24px;
  font-family: var(--font-main);
  color: var(--black);
  direction: rtl;
}

.product-crumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 25px;
}
.product-crumb a:hover {
  color: var(--gold);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 55px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  direction: ltr;
}
.thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thumb {
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #eee;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 10px;
  transition: .2s;
  overflow: hidden;
  padding: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb:hover {
  border-color: var(--gold);
}
.thumb.active {
  border: 2px solid var(--gold);
}
.main-image {
  height: 610px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1f0ed, #d9d5ce);
  display: grid;
  place-items: center;
  color: #999;
  font-size: 14px;
  overflow: hidden;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.pdetail {
  direction: rtl;
}
.pdetail .label {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.pdetail h1 {
  font-size: 38px;
  line-height: 1.4;
  margin: 5px 0 12px;
}
.rating-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.rating-line .stars {
  color: #b28a43;
  font-size: 15px;
}
.pdesc {
  color: #666;
  line-height: 2;
  font-size: 14px;
  margin: 22px 0;
}
.pprice {
  font-size: 29px;
  font-weight: 800;
}
.pold {
  text-decoration: line-through;
  color: #aaa;
  font-size: 15px;
  margin-right: 8px;
}
.save {
  display: inline-block;
  background: #f7ebe8;
  color: var(--red);
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 11px;
  margin-right: 8px;
}

/* Options & Swatches */
.option {
  margin-top: 24px;
}
.option-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.swatch {
  padding: 10px 17px;
  border: 1px solid #d8d5cf;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: .2s;
  font-size: 13px;
}
.swatch:hover {
  border-color: var(--gold);
}
.swatch.active {
  border: 2px solid var(--black);
  padding: 9px 16px;
}

/* Quantity */
.quantity {
  display: flex;
  align-items: center;
  margin-top: 22px;
}
.qty {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 7px;
  overflow: hidden;
  margin-right: 12px;
}
.qty button {
  border: 0;
  background: #fff;
  width: 38px;
  height: 42px;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s;
}
.qty button:hover {
  background: var(--cream);
}
.qty input {
  width: 45px;
  border: 0;
  text-align: center;
  outline: 0;
  background: #fff;
  font-weight: 700;
}

/* Product Action Buttons */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.product-btn {
  border: 0;
  padding: 14px 20px;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-btn:hover {
  transform: translateY(-1px);
}
.product-btn-black {
  background: var(--black);
  color: #fff;
}
.product-btn-black:hover {
  background: #262626;
}
.product-btn-gold {
  background: var(--gold);
  color: #fff;
}
.product-btn-gold:hover {
  background: var(--gold-hover);
}

/* COD Box */
.cod-box {
  margin-top: 18px;
  background: #f7f3eb;
  border-radius: 12px;
  padding: 18px;
}
.cod-box strong {
  display: block;
  margin-bottom: 8px;
}
.cod-box p {
  font-size: 12px;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

/* Product Tabs */
.p-tabs {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}
.tab-head {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tab-head button {
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 20px 4px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  font-size: 15px;
}
.tab-head button.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}
.tab-content {
  padding: 25px 5px;
  color: #666;
  line-height: 2;
  font-size: 14px;
}

/* Related Products Section */
.related {
  margin-top: 70px;
}
.related h2 {
  font-size: 27px;
  margin-bottom: 24px;
}
.related-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  display: block;
}
.related-image {
  height: 280px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f1f0ed, #d9d5ce);
  display: grid;
  place-items: center;
  color: #999;
  overflow: hidden;
}
.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.related-card:hover .related-image img {
  transform: scale(1.05);
}
.related-info {
  padding: 12px 3px;
}
.related-info h3 {
  font-size: 15px;
  margin: 6px 0;
  font-weight: 700;
}
.related-price {
  font-weight: 800;
  font-size: 17px;
}

/* Features Grid */
.features {
  background: var(--black);
  color: #ffffff;
  padding: 36px 0;
  margin: 60px 0;
}
.featuregrid {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  border-left: 1px solid #2d2d2d;
  padding: 4px 22px;
}
.feature:last-child {
  border-left: 0;
}
.feature .feat-icon {
  font-size: 24px;
  margin-bottom: 6px;
  display: block;
}
.feature b {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}
.feature span {
  font-size: 12px;
  color: #aaaaaa;
}

/* Banner Sections */
.banner {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 45px 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.03);
}
.banner h2 {
  font-size: 30px;
  margin: 6px 0 8px;
  font-weight: 800;
}
.banner p {
  color: #666666;
  margin: 0;
  font-size: 14px;
}
.news-form {
  display: flex;
  gap: 10px;
  max-width: 550px;
  flex: 1;
}
.news-form input {
  flex: 1;
  border: 1px solid var(--line);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--white);
  outline: 0;
}

/* Customer Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 0.25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.review-card p {
  line-height: 1.85;
  color: #555;
  font-size: 14px;
  margin: 12px 0 16px;
}
.review-card b {
  font-size: 13px;
  color: var(--black);
  display: block;
}

/* Standard WooCommerce Overrides */
.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}
.woocommerce .woocommerce-breadcrumb a {
  color: var(--black);
}
.woocommerce span.onsale {
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 700;
}
.woocommerce table.cart th, .woocommerce table.cart td {
  padding: 14px 10px;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--black);
  color: #fff;
  font-family: var(--font-main);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 700;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--gold);
  color: #fff;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background: var(--gold);
  color: #fff;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
  background: var(--gold-hover);
}

/* Content Container for standard pages */
.site-content-wrap {
  max-width: 1280px;
  margin: 40px auto 80px;
  padding: 0 24px;
  min-height: 50vh;
}
.page-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--black);
}
.post-content {
  line-height: 1.9;
  color: #444;
}

/* Footer */
footer {
  background: #111111;
  color: #ffffff;
  padding: 60px 24px 30px;
  margin-top: 80px;
}
.footergrid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footergrid .logo {
  color: #fff;
  margin-bottom: 12px;
}
.footergrid h4 {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
}
.footergrid p, .footergrid a {
  color: #aaaaaa;
  font-size: 13px;
  line-height: 2;
}
.footergrid a:hover {
  color: var(--gold);
}
.copyright {
  max-width: 1280px;
  margin: 40px auto 0;
  border-top: 1px solid #282828;
  padding-top: 20px;
  color: #666666;
  font-size: 12px;
  text-align: center;
}

/* Sticky Bottom Mobile Bar */
.mobilebar {
  display: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-inner {
    min-height: 460px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .cats {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footergrid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .navlinks, .search-form-wrap {
    display: none;
  }
  .nav {
    justify-content: space-between;
  }
  .hero-inner {
    background: linear-gradient(110deg, #111111, #26231e);
    min-height: 480px;
  }
  .hero-copy {
    width: 100%;
    padding: 35px 24px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .cats {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .photo {
    height: 235px;
  }
  .featuregrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .feature {
    border-left: 0;
  }
  .banner {
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .news-form {
    width: 100%;
    flex-direction: column;
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  
  /* Product page mobile layout */
  .product-page {
    padding: 0 15px 80px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
  }
  .thumb {
    min-width: 75px;
    height: 70px;
  }
  .main-image {
    height: 420px;
  }
  .pdetail h1 {
    font-size: 29px;
  }
  .product-actions {
    grid-template-columns: 1fr;
  }
  .related-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-image {
    height: 220px;
  }
  .footergrid {
    grid-template-columns: 1fr;
  }
  body {
    padding-bottom: 60px;
  }
  .mobilebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    padding: 8px 4px;
    z-index: 999;
    font-size: 11px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.05);
  }
  .mobilebar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--black);
    position: relative;
    padding: 2px 10px;
  }
  .mobilebar a.active, .mobilebar a:hover {
    color: var(--gold);
  }
  .mobilebar .m-icon {
    font-size: 18px;
    margin-bottom: 2px;
  }
}
/* Add Footer Menu List Styles */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu-list li {
  margin-bottom: 6px;
}
.footer-menu-list li a {
  color: #aaaaaa;
  font-size: 13px;
  line-height: 2;
  transition: color 0.2s;
}
.footer-menu-list li a:hover {
  color: var(--gold);
}
